From: sashiko-bot@kernel.org
To: "Daniel Gomez" <da.gomez@kernel.org>
Cc: linux-nvme@lists.infradead.org
Subject: Re: [PATCH 1/2] block: add BLK_FEAT_ATOMIC_WRITE_MULTI
Date: Thu, 03 Dec 2026 19:19:34 +0000 [thread overview]
Message-ID: <sashiko-outbox-248483@kernel.org> (raw)
In-Reply-To: <20261203-nvme-mam-v1-1-edad0281b1f7@samsung.com>
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 <da.gomez@samsung.com>
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/stable/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/<disk>/queue/atomic_write_multi
> +Date: November 2026
> +Contact: Daniel Gomez <da.gomez@samsung.com>
> +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.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261203-nvme-mam-v1-0-edad0281b1f7@samsung.com?part=1
next prev parent reply other threads:[~2026-12-03 19:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 18:56 [PATCH 0/2] Support for Multiple Atomicity Mode Daniel Gomez
2026-12-03 18:56 ` [PATCH 1/2] block: add BLK_FEAT_ATOMIC_WRITE_MULTI Daniel Gomez
2026-12-03 19:19 ` sashiko-bot [this message]
2026-12-03 18:56 ` [PATCH 2/2] nvme: enable multiple atomicity mode Daniel Gomez
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=sashiko-outbox-248483@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=da.gomez@kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=sashiko-reviews@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.