Skip to content

add request queuing to kauth smartctl

Harald Sitter requested to merge work/q-kauth into master

kauth does not actually support making multiple requests at the same time. this effectively caused multiple devices to get the same reply blob based on which device gets requested first, rendering the data largely useless as they'd all reflect the state of a single device.

since the kauth test is a bit rubbish to test data consistency is now asserted in the monitor

e.g.
::run(/dev/nvme0n1) -> job0
::run(/dev/sda) -> job1

|
kauth makes single request to action
|
v

helper(/dev/nvme0n1)
   			--> returns blob0

|
kauth returns all jobs for that action
|
v

job0 -> result(blob0)
job1 -> result(blob0)

Merge request reports

Loading