[PATCH] nvme: move NVMF_OPT_CTRL_LOSS_TMO to generic list of allowed options

Christoph Hellwig hch at lst.de
Fri Feb 5 11:25:06 EST 2021


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.



More information about the Linux-nvme mailing list