[PATCH V4 4/5] nvme-pci: discard wait timeout when delete cq/sq

2018-03-07 Thread Jianchao Wang
nvme_disable_io_queues could be wakeup by both request completion and wait timeout path. If delete cq/sq command expires, the nvme_disable_io_queues will be wakeup, return, even get to nvme_reset_work, while the timeout path is still ongoing. The disable and initialization procedure may run in

[PATCH V4 4/5] nvme-pci: discard wait timeout when delete cq/sq

2018-03-07 Thread Jianchao Wang
nvme_disable_io_queues could be wakeup by both request completion and wait timeout path. If delete cq/sq command expires, the nvme_disable_io_queues will be wakeup, return, even get to nvme_reset_work, while the timeout path is still ongoing. The disable and initialization procedure may run in