[PATCH] nvmet: introduce new mdts configuration entry

Christoph Hellwig hch at lst.de
Wed Apr 1 07:10:35 PDT 2026


On Wed, Apr 01, 2026 at 10:13:55AM +0000, Aurelien Aptel wrote:
> Using this port configuration, one will be able to set the Maximum Data
> Transfer Size (MDTS) for any controller that will be associated to the
> configured port.
> 
> The default value stayed 0 (no limit) but each transport will be able to
> set its own values before enabling the port.

The ZASL calculation in zns.c also needs to take this limit into account.
So maybe add a helper to calculate it?




More information about the Linux-nvme mailing list