[PATCHv2] NVMe: Sync reset and scan work
Christoph Hellwig
hch at infradead.org
Fri May 27 00:34:14 PDT 2016
As mentioned before I like this a lot, but not that I looked into
porting this over to Fabrics I have a few more nitpicks..
- we really should go through nvme_reset_ctrl and thus the
nvme_reset_ctrl for all places that schedule a reset
- past that the transitions should be tightened so that we
can only transition from SCHED_RESET to RESETTING, and the
check for NVME_CTRL_RESETTING in the beginning of nvme_reset_work
can go away.
- isn't the flushing of the scan work better done from the
reset work so that we don't block the caller?
More information about the Linux-nvme
mailing list