Re: [PATCH 9/9] nvme-pci: discard wait timeout when delete cq/sq

2018-02-11 Thread Sagi Grimberg
This looks ok to me, unless we have some quirks that need it? Reviewed-by: Sagi Grimberg

[PATCH 9/9] nvme-pci: discard wait timeout when delete cq/sq

2018-02-11 Thread Jianchao Wang
Currently, nvme_disable_io_queues could be wakeup by both request completion and wait timeout path. This is unnecessary and could introduce race between nvme_dev_disable and request timeout path. When delete cq/sq command expires, the nvme_disable_io_queues will also be wakeup and return to nvme_de