mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ing. Alfonso Kuen Arroyo <gerencia@idkmanager.com>
To: Kenta Akagi <k@mgml.me>
Cc: Maurizio Lombardi <mlombard@arkamax.eu>,
	hch@lst.de, sagi@grimberg.me, kch@nvidia.com,
	linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] nvmet-tcp: report a bounded MDTS instead of "no limit"
Date: Wed, 02 Dec 2026 23:10:12 -0500	[thread overview]
Message-ID: <179627101247.23804.6932840446662716960@idkmanager.com> (raw)
In-Reply-To: <8d84fe3f-1853-4ff3-99d7-72575f11672d@mgml.me>

On Wed, Dec 02, 2026, Kenta Akagi wrote:
> Would this be a helpful way forward? I'd be glad to coordinate with
> your plans.

Hi Akagi,

Thanks for picking this up, and for the report from a recent-kernel
target.

Yes, please go ahead. MDTS=10 is the more coherent choice: it advertises
exactly what nvmet_tcp_map_data() already guarantees since commit
4a3f00262a04, so the 2 MiB gap Maurizio pointed out (advertised but not
enforced) goes away without waiting for a core check.

I picked 8 to match nvmet-rdma, and because on kernels predating that
bound a 32 MiB command reached sgl_alloc() as an order-6 allocation.
A 4 MiB command needs 1024 scatterlist entries, 32 KiB, an order-3
allocation, within PAGE_ALLOC_COSTLY_ORDER, so I don't expect that
failure mode to come back with 10.

Please consider my v3 superseded by your series. Sagi's Reviewed-by was
given for the value 8, so it shouldn't be carried over. I'm happy to
review it and to test it on a lab target with Proxmox VE initiators, and
the offer to send the core MDTS enforcement as a follow-up still stands
if that helps.

Thanks,
Alfonso

      reply	other threads:[~2026-12-03  4:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20260828222356.1264-1-gerencia@idkmanager.com>
2026-08-29  1:39 ` [PATCH v2] " Alfonso Kuen
2026-08-30 21:00   ` Sagi Grimberg
2026-08-30 21:02     ` Sagi Grimberg
2026-08-31  0:51   ` [PATCH v3] " Alfonso Kuen
2026-09-01 14:06     ` Maurizio Lombardi
2026-09-19  3:00       ` Ing. Alfonso Kuen Arroyo
2026-09-19  7:53         ` Maurizio Lombardi
2026-09-19  7:57           ` Maurizio Lombardi
2026-09-19 14:39             ` Ing. Alfonso Kuen Arroyo
2026-12-02 19:21               ` Kenta Akagi
2026-12-03  4:10                 ` Ing. Alfonso Kuen Arroyo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179627101247.23804.6932840446662716960@idkmanager.com \
    --to=gerencia@idkmanager.com \
    --cc=hch@lst.de \
    --cc=k@mgml.me \
    --cc=kch@nvidia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=mlombard@arkamax.eu \
    --cc=sagi@grimberg.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®