Re: [PATCH 4/9] nvme-pci: quiesce IO queues prior to disabling device HMB accesses

From: jianchao.wang
Date: Sun Feb 11 2018 - 21:19:26 EST


Hi Sagi

Thanks for your kindly reminding.

On 02/11/2018 07:19 PM, Sagi Grimberg wrote:
>
>> diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
>> index 6fe7af0..00cffed 100644
>> --- a/drivers/nvme/host/pci.c
>> +++ b/drivers/nvme/host/pci.c
>> @@ -2186,7 +2186,10 @@ static void nvme_dev_disable(struct nvme_dev *dev, bool shutdown)
>> ÂÂÂÂÂ if (!dead) {
>> ÂÂÂÂÂÂÂÂÂ if (shutdown)
>> ÂÂÂÂÂÂÂÂÂÂÂÂÂ nvme_wait_freeze_timeout(&dev->ctrl, NVME_IO_TIMEOUT);
>> +ÂÂÂ }
>> +ÂÂÂ nvme_stop_queues(&dev->ctrl);
>
> Nit, extra newline before nvme_stop_queues would be nice.
>

Yes, I will change this next version.

> Other than that, looks good,
>
> Reviewed-by: Sagi Grimberg <sagi@xxxxxxxxxxx>
>
> _______________________________________________
> Linux-nvme mailing list
> Linux-nvme@xxxxxxxxxxxxxxxxxxx
> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.infradead.org_mailman_listinfo_linux-2Dnvme&d=DwICAg&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=7WdAxUBeiTUTCy8v-7zXyr4qk7sx26ATvfo6QSTvZyQ&m=YyTE_X1Vl7LP-4IDkvFIPtRdBfnPAeiULK6MVj1Qfy4&s=0q3njAGASSRaQZEYLRXwJmUjYJRweNTVwoqR9mbHWTs&e=
>