[PATCH] nvmet-tcp: fix stale comment on NVMET_TCP_MAXH2CDATA
Christoph Hellwig
hch at lst.de
Sun Sep 20 23:54:48 PDT 2026
On Fri, Sep 18, 2026 at 10:02:33PM -0500, Ing. Alfonso Kuen Arroyo wrote:
> #define NVMET_TCP_DEF_INLINE_DATA_SIZE (4 * PAGE_SIZE)
> -#define NVMET_TCP_MAXH2CDATA 0x400000 /* 16M arbitrary limit */
> +#define NVMET_TCP_MAXH2CDATA 0x400000 /* 4M arbitrary limit */
Maybe use SZ_4M instead of having a value and a comment that can get
out of sync?
More information about the Linux-nvme
mailing list