]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
block: update validation of atomic writes boundary for stacked devices
authorJohn Garry <john.g.garry@oracle.com>
Mon, 15 Sep 2025 10:34:58 +0000 (10:34 +0000)
committerJens Axboe <axboe@kernel.dk>
Tue, 16 Sep 2025 18:29:10 +0000 (12:29 -0600)
commitbfd4037296bd7e1f95394a2e3daf8e3c1796c3b3
tree6a82a75e7a843aff27f6e567998536bf1ae02dea
parent74b1db86847cce1c0fb54d362f8f5fde3adfd41b
block: update validation of atomic writes boundary for stacked devices

In commit 63d092d1c1b1 ("block: use chunk_sectors when evaluating stacked
atomic write limits"), it was missed to use a chunk sectors limit check
in blk_stack_atomic_writes_boundary_head(), so update that function to
do the proper check.

Fixes: 63d092d1c1b1 ("block: use chunk_sectors when evaluating stacked atomic write limits")
Signed-off-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-settings.c