From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 73C7B606A6A5 for ; Thu, 3 Dec 2026 19:19:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=nHODQCij; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=QjKPNCkL DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Reply-To:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Date: Content-Transfer-Encoding:Content-Type:References:In-Reply-To:Cc:To:Subject: From:Message-ID:MIME-Version:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=XzZNHkCB5/oXbhAbJtDoNhIobVHoXNPOEffwfiZYHxQ=; b=nHODQCijr+8okyhaf6iSKUCQZ3 iizs3y3lDvpSMqNz3/scRfjucBLl8so0mm0meQyMxjiIvbbA9nL+p71ihEJoiYKmXiaiukIFwZmtu yhEfF9/aTq/r1zxYaU6orsZAouSV76gcHpWp7z+gLaYoa4yikMoCFqTJ8EQZX0yy3vG62mdkqHy+A B2yLL6YP3GcJtOqz5G+CnGAz1EIke2Ct8ksszVLERkwSXu4r+lNyuR0AzO5iKD6Vm3jpmpy6rzmTd bGmrlTYnN605xxhQ1HRGpZZwOxfuyLN9VNm10mXTmMUx4el4kPm49tENYm+pSNQL3aqhIw0IQkGz9 lyV/qobg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZCLA-0000000FkSH-1F2p; Thu, 03 Dec 2026 19:19:36 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZCL9-0000000FkRY-31De for linux-nvme@lists.infradead.org; Thu, 03 Dec 2026 19:19:35 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id F223860117 for ; Thu, 3 Dec 2026 19:19:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 978DB1F00931; Thu, 3 Dec 2026 19:19:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796325574; bh=XzZNHkCB5/oXbhAbJtDoNhIobVHoXNPOEffwfiZYHxQ=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=QjKPNCkLFZDWocBcxGq94zYeWxCCdw48y8e/MLbqvG6N0TAlmTGJvgppk9jMYVCx/ Srdro8DEArWRMigajYf22jVpg6TcC1BodovyAwRjztTIxFhxADFiutA8oXDMfI7IvY EMTlFDq2VWwvshm9jlIL1HGY9WP5+5TTYDyyV0WsZ19O1+4/rh38cIcA4tcu0t1Dvi 1lFfU+y4TLdTr0zrmgbz63XynFNdJDr+L7FzzY7CwAJ8GxxXhoG+LG92SzxfHM874s zNiyepP++xACORQVoCo1nb0jz7ms8nZLNAXVV9neEdYcJDfpblDs78Z6nYFzs4lU2/ Nij6/TPOy2TFQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 1/2] block: add BLK_FEAT_ATOMIC_WRITE_MULTI To: "Daniel Gomez" Cc: linux-nvme@lists.infradead.org In-Reply-To: <20261203-nvme-mam-v1-1-edad0281b1f7@samsung.com> References: <20261203-nvme-mam-v1-0-edad0281b1f7@samsung.com> <20261203-nvme-mam-v1-1-edad0281b1f7@samsung.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 19:19:34 +0000 X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sashiko-reviews@lists.linux.dev Sender: "Linux-nvme" X-Spam-Status: No, score=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 X-Archived-By: Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] block: sysfs-block ABI doc for atomic_write_max_bytes misses multi mode -- commit 933475a4987a9fdd84696702ee1bb3f36b7c3022 Author: Daniel Gomez block: add BLK_FEAT_ATOMIC_WRITE_MULTI This commit adds the BLK_FEAT_ATOMIC_WRITE_MULTI queue feature flag and exposes it via queue/atomic_write_multi in sysfs. When enabled, merged REQ_ATOMIC requests are no longer limited at atomic_write_boundary_sectors and may grow up to max(max_sectors, atomic_write_max_sectors). > diff --git a/Documentation/ABI/stable/sysfs-block b/Documentation/ABI/sta= ble/sysfs-block > index 900b3fc4c72d0..19d9c250371f2 100644 > --- a/Documentation/ABI/stable/sysfs-block > +++ b/Documentation/ABI/stable/sysfs-block > @@ -72,7 +72,18 @@ Description: > power-of-two and at least the size as in > atomic_write_unit_max_bytes. > Any attempt to merge atomic write I/Os must not result in a > - merged I/O which crosses this boundary (if any). > + merged I/O which crosses this boundary (if any), unless > + atomic_write_multi is 1. > + > + > +What: /sys/block//queue/atomic_write_multi > +Date: November 2026 > +Contact: Daniel Gomez > +Description: > + [RO] 1 if the device writes each atomic write boundary window > + of an I/O atomically. Contiguous atomic writes may then be > + merged across atomic_write_boundary_bytes. Each write remains > + atomic, but the merged I/O as a whole does not. 0 otherwise. [Severity: Low] Should the atomic_write_max_bytes entry earlier in Documentation/ABI/stable/sysfs-block also be updated for atomic_write_multi? That entry still states unconditionally that "a merged atomic write operation must not exceed this number of bytes", whereas blk_queue_get_max_sectors() in block/blk.h now allows merged REQ_ATOMIC requests up to max(max_sectors, atomic_write_max_sectors) when BLK_FEAT_ATOMIC_WRITE_MULTI is set. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203-nvme-mam-v= 1-0-edad0281b1f7@samsung.com?part=3D1