• Dan Williams's avatar
    isci: replace isci_remote_device completion with event queue · 6ad31fec
    Dan Williams authored
    Replace the device completion infrastructure with the controller wide
    event queue.  There was a potential for the stop and ready notifications
    to corrupt each other, now that cannot happen.
    
    The stop pending flag cannot be used until devices are statically
    allocated.  We temporarily need to maintain a completion to handle
    waiting for an object that has disappeared, but we can at least stop
    scribbling on freed memory.
    
    A future change will also get rid of the "stopping" state as it should
    not be exposed to the rest of the driver.
    Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
    6ad31fec
host.c 14.9 KB