Skip to content
  • Harald Sitter's avatar
    add request queuing to kauth smartctl · 325018e2
    Harald Sitter authored
    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)
    ```
    325018e2