[PATCH v3 2/2] nvme-rdma: short-circuit reconnect retries

Chaitanya Kulkarni chaitanyak at nvidia.com
Wed Mar 6 00:17:47 PST 2024


On 3/6/24 00:11, Chaitanya Kulkarni wrote:
> On 3/5/24 00:00, Daniel Wagner wrote:
>> From: Hannes Reinecke <hare at suse.de>
>>
>> Returning an nvme status from nvme_rdma_setup_ctrl() indicates
>> that the association was established and we have received a status
>> from the controller; consequently we should honour the DNR bit.
>> If not any future reconnect attempts will just return the same error, so
>> we can short-circuit the reconnect attempts and fail the connection
>> directly.
>>
>> Signed-off-by: Hannes Reinecke <hare at suse.de>
>> Signed-off-by: Daniel Wagner <dwagner at suse.de>
>> ---
>>
> same here, do we need a same fix for FC as well ? just curious ...
>
> Looks good.
>
> Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>
>
> -ck
>

fc already handles DNR in nvme_fc_reconnect_or_delete().

-ck




More information about the Linux-nvme mailing list