summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorJohn Garry <john.g.garry@oracle.com>2025-09-15 10:35:00 +0000
committerJens Axboe <axboe@kernel.dk>2025-09-16 12:29:10 -0600
commitda7b97ba0d219a14a83e9cc93f98b53939f12944 (patch)
treed5b378333fdcacecf6a958f05dc18843e27311dc /rust/helpers/helpers.c
parentf2d8c5a2f79c28569edf4948b611052253b5e99a (diff)
block: relax atomic write boundary vs chunk size check
blk_validate_atomic_write_limits() ensures that any boundary fits into and is aligned to any chunk size. However, it should also be possible to fit the chunk size into any boundary. That check is already made in blk_stack_atomic_writes_boundary_head(). Relax the check in blk_validate_atomic_write_limits() by reusing (and renaming) blk_stack_atomic_writes_boundary_head(). 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>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions