[PATCH] nvme-multipath: fix possible hang in live ns resize with ANA access

Sagi Grimberg sagi at grimberg.me
Wed Sep 28 13:06:35 PDT 2022



On 9/28/22 20:21, Keith Busch wrote:
> On Wed, Sep 28, 2022 at 04:58:16PM +0300, Sagi Grimberg wrote:
>> @@ -172,16 +172,18 @@ void nvme_mpath_clear_ctrl_paths(struct nvme_ctrl *ctrl)
>>   void nvme_mpath_revalidate_paths(struct nvme_ns *ns)
>>   {
>>   	struct nvme_ns_head *head = ns->head;
>> +	struct nvme_ns *n;
>>   	sector_t capacity = get_capacity(head->disk);
>>   	int node;
> 
> Cosmetic nit, the new declaration ought to be below the capacity line for
> reverse-xmas tree goodness.

Will do.



More information about the Linux-nvme mailing list