[PATCH v3] nvmet-tcp: set and enforce a default MDTS for TCP transport
Sagi Grimberg
sagi at grimberg.me
Mon May 11 01:01:18 PDT 2026
On 11/05/2026 9:36, Christoph Hellwig wrote:
> On Sun, May 10, 2026 at 11:42:48PM +0300, Sagi Grimberg wrote:
>> I think what we want is to limit the tcp to a sane limit similar to the
>> nvmet-rdma driver.
> Agreed.
>
> We might still need the early enforcement in Shivam's patch, though.
>
Agreed, I think that rdma is susceptible here as well (perhaps also fc?).
Perhaps we can have a helper for nvmet_check_mdts() that would accept
the request after req->transfer_len was initialized.
More information about the Linux-nvme
mailing list