[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 8 Aug 2023 11:09:27 +0200
From: Daniel Wagner <dwagner@...e.de>
To: Sagi Grimberg <sagi@...mberg.me>
Cc: linux-nvme@...ts.infradead.org, linux-kernel@...r.kernel.org,
Caleb Sander <csander@...estorage.com>,
Keith Busch <kbusch@...nel.org>
Subject: Re: [PATCH libnvme v2 2/2] fabrics: Do not pass disable_sqflow if
not supported
On Tue, Aug 08, 2023 at 11:47:14AM +0300, Sagi Grimberg wrote:
> I think you want to check this before the initial call
> and avoid the retry altogether.
> --
> - if (e->treq & NVMF_TREQ_DISABLE_SQFLOW)
> + if (e->treq & NVMF_TREQ_DISABLE_SQFLOW &&
> + nvmf_check_option(h->r, disable_sqflow))
> c->cfg.disable_sqflow = true;
> + else
> + c->cfg.disable_sqflow = false;
>
> if (e->trtype == NVMF_TRTYPE_TCP &&
> (e->treq & NVMF_TREQ_REQUIRED ||
Yep, makes sense.
Powered by blists - more mailing lists