From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.217.41 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796271016; b=dXIFZZiCDUY2H0vyjYnIqAspGXti/kKBpw/G7+bkWWAlXzjPDLYpADbAmCp/ejKae/A6 LMdhL15kr3rGDDmRsmx0Ti7mMUuXPsgsFBJDv6yAroQYrWlavVtw1jKflH4+mfgqNQJhX kGQIpT3Ud0n2hXobiQwWKXCaJ/GNT6mEYT1ZREcPlwkdTAjrnIoxUlb27Es4/pMwyFc/P lLk0zTdp51ng/h6+9FfjOV6wA48CeLLQQSamtZqfnkfgYEUt+3KQ91kLsMoimZmgZMNLe Rpqbtwt2H1PnOxdQgHC7d01vsIjA8AdGITvGpXJHUVdEdIFPi8xeUF6OUnmEM4WIq6g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796271016; h=DMARC-Filter:Received:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject: Date:Message-ID:In-Reply-To:References:Content-Type: Content-Transfer-Encoding:MIME-Version; bh=N/Ab6fYM9GVnwUO4EwolY//HSWmJHfpZroDxZe4TP9k=; b=2YtJHFuILAefZsrB3i00kvCZjK9pMc4HUeUm4kvDh+STgcl1lHSiFfMzung3VPsoElez 93jIW+PKoPjL7uhx/p4sK//mMQJCHJBd8Nd0uqMYxbs7XHJPRGtN+u4mDAYOn8KCvHQUu vMlLQkl2TVW4OF8LzBHlsCQZa5g2EVfNuu4a+KsZIv133MnKiDASgH2yNxew6hyGUOE+E 5XKxnXIzMUd78/OAi0UalEaymfbcfaJT9XHxb7LoqvHiTSb1Sgr+IJc5keXckVmC5OBrW wiYx6c8eKKxCQ2m92AGblb4aPNVRGWddsYdGCnEzUpHswJrhBF3xSDnQXLrWaxNa0sw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=idkmanager.com; spf=pass smtp.mailfrom=idkmanager.com; arc=none smtp.remote-ip=209.85.217.41 Received: from mail-vs1-f41.google.com (mail-vs1-f41.google.com [209.85.217.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A1403606A322 for ; Thu, 3 Dec 2026 04:10:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A1403606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=idkmanager.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=idkmanager.com Received: by mail-vs1-f41.google.com with SMTP id ada2fe7eead31-7d2dc1ac787so4433948137.2 for ; Wed, 02 Dec 2026 20:10:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796271014; x=1796875814; h=mime-version:content-transfer-encoding:content-type:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=N/Ab6fYM9GVnwUO4EwolY//HSWmJHfpZroDxZe4TP9k=; b=bRKeL0S11ZuffG3HiuO5IP30oH88wugZ9uIfFlJ7+dM9NgFdR02RfcMJ9mlsUIyF0N 58yIVjZWCJdSev56fmydJ8qDRfZazo9vzGMTgJfjXasJqUOcqP2oduXvaDvAaoRI0hkE fr1zYqwCXgwl3lq6IMthFR8PAfY/jnZctJrumRAmrDWfpxkRg29TY8pjksWg+Sdoo/O9 O7rKwkaysO0YJ7kZxDYX48w8vBiwLs6jwRC4USvzo5ac0UpAJOWja9cJDjwasHYt+zlR GYkX74bd6z/AYdjr7ux24hIIsxpKaoU0wwVuCle3QMTv+CGNsghrzx59dTEqiplULT+N eghg== X-Forwarded-Encrypted: i=1; AL+hErETX4DVc64FBswH7Mz0BEmF6FZSawX61tGNijB8bskmTDz5exBlmoDaZTei5weP+4uymp/GCoo05iWZ+Wo=@vger.kernel.org X-Gm-Message-State: APuU4Z8lPGkAgPFvbFrJOidfeB+vyz+TdvhJ2bM+2iy+CZRSdjgyik57 BIgND2HaqazMo8+h5LgQc753rCiEbuGnIP6tV1MfV8Ewbb1Pp3VxmcinlD7IX8hTX0I= X-Gm-Gg: AZFdTZf0ASinUzHFza2hULF0mB5/weTRQxObBV7FhNREV/LQkQ5ChfVl5lLDAhuW5zC eNf2NGUrtaKCAXIQqfhO718a3lnDeMgQY05oMNao33m7dp29/ipFjgpbmLCpz+AtDiyMhGRl7l7 sUYicOn53BDG1YmnaiaH0usgbWT9r1DREgyQXlioZuJNuQQ3aQjFUFgkBlL/0W4srSaj3VDBMFS JANV+B5LzHACQKk1DiNPrEqD02JGTOY79mz1rUqTknMVFGALCOttSlA+VOLvztgb6zAv+Yv4rTI rWnmOWDrfoc9C3Ng1VtlgryjO/wz9nO2VC4pk1D45eLffZVRxBmcLkpwwKJHHVXdVPRBSHDLtFp eGQGEVkkOtK4DtEk4tnIdyEOFQ1omP84x5AcI0SeaBVY9w1Gm3iar4v1AdFkp6M1s2gXWIQE3J6 L6zt5fOaF/m7/tqQEbGDGyJ9XAvP3vCUCpYqpzFhf3VD7R3QpAN9EWlp41fx7VKiTrNv10PqoG/ GMfFuaGjDdpkAcJgadPyGG73Wd6Gmx/bteomfIpQ65Vlq7bFLXDdoFOSXpDzUZ6XJyQJQLN85G5 WOVEyLmhn+0HAJ10jzJ2D9eSe+JFTV8KsGbxyPiSTiuNq+NDwDZTLgLR3QF10+Tp5Ln+ffc0rja ItV/NoQru X-Received: by 2002:a05:6102:441a:b0:7a7:366c:92b1 with SMTP id ada2fe7eead31-7d73945feb7mr26883455137.23.1796271014584; Wed, 02 Dec 2026 20:10:14 -0800 (PST) Received: from [190.160.10.70] (ip-59-153-47-212.alfanet.net.ec. [59.153.47.212]) by smtp.gmail.com with ESMTPSA id a1e0cc1a2514c-99e6df8a28dsm43174280241.4.2026.12.02.20.10.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 20:10:14 -0800 (PST) From: Ing. Alfonso Kuen Arroyo To: Kenta Akagi Cc: Maurizio Lombardi , 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 Message-ID: <179627101247.23804.6932840446662716960@idkmanager.com> In-Reply-To: <8d84fe3f-1853-4ff3-99d7-72575f11672d@mgml.me> References: DLJ4T2GRQSA7.1NN9YA9M8XUDK@arkamax.eu, 178982875024.43804.2680537645505838340@idkmanager.com <8d84fe3f-1853-4ff3-99d7-72575f11672d@mgml.me> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 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