Re: [PATCH V3 2/2] nvme-pci: fix the timeout case when reset is ongoing

2018-01-14 Thread Sagi Grimberg
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index e477c35..0530432 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -1212,19 +1212,26 @@ static enum blk_eh_timer_return nvme_timeout(struct request *req, bool reserved) } /* -* Shutdown

[PATCH V3 2/2] nvme-pci: fix the timeout case when reset is ongoing

2018-01-10 Thread Jianchao Wang
There could be request timeout when the reset is ongoing. nvme_timeout will not only meet the admin requests from the initializing procedure, but also the IO and admin requests from previous work before nvme_dev_disable is invoked. These requests should be handled separately. We could distinguish