[PATCH] nvme: move NVMF_OPT_CTRL_LOSS_TMO to generic list of allowed options
Chaitanya Kulkarni
Chaitanya.Kulkarni at wdc.com
Fri Feb 5 13:47:04 EST 2021
> On Feb 5, 2021, at 8:45 AM, Hannes Reinecke <hare at suse.de> wrote:
>
> On 2/5/21 5:25 PM, Christoph Hellwig wrote:
>>> On Fri, Feb 05, 2021 at 04:47:14PM +0100, Hannes Reinecke wrote:
>>> Every single fabrics driver with the exception of loop is setting
>>> NVMF_OPT_CTRL_LOSS_TMO, and recent nvme-cli has begun to set this
>>> in the default options when create a discovery controller.
>>> As it's not listed for loop connections to the loop controller will
>>> fail.
>>> So move it to the generic options to avoid this failure.
>> Well, the option doesn't really make sense for loop. I think nvme-cli
>> needs to be fixed to not set in this case.
> Neither does NVMF_OPT_FAIL_FAST_TMO, yet there it is ...
>
I have already sent a patch to fix this and we have decided to fix the issue with NVMe-cli.
> Cheers,
>
> Hannes
> --
> Dr. Hannes Reinecke Kernel Storage Architect
> hare at suse.de +49 911 74053 688
> SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
> HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer
>
> _______________________________________________
> Linux-nvme mailing list
> Linux-nvme at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-nvme
More information about the Linux-nvme
mailing list