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

2018-01-04 Thread jianchao.wang
Hi Christoph Many thanks for your kindly response. On 01/04/2018 06:35 PM, Christoph Hellwig wrote: > On Wed, Jan 03, 2018 at 06:31:44AM +0800, Jianchao Wang wrote: >> NVME_CTRL_RESETTING used to indicate the range of nvme initializing >> strictly in fd634f41(nvme: merge probe_work and reset_work

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

2018-01-04 Thread Christoph Hellwig
On Wed, Jan 03, 2018 at 06:31:44AM +0800, Jianchao Wang wrote: > NVME_CTRL_RESETTING used to indicate the range of nvme initializing > strictly in fd634f41(nvme: merge probe_work and reset_work), but it > is not now. The NVME_CTRL_RESETTING is set before queue the > reset_work, there could be a big

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

2018-01-01 Thread Jianchao Wang
NVME_CTRL_RESETTING used to indicate the range of nvme initializing strictly in fd634f41(nvme: merge probe_work and reset_work), but it is not now. The NVME_CTRL_RESETTING is set before queue the reset_work, there could be a big gap before the reset work handles the outstanding requests. So when th