diff options
| author | 2026-09-07 10:40:53 +0300 | |
|---|---|---|
| committer | 2026-09-11 07:24:54 -0600 | |
| commit | 1418b5633ca973723fd20db5c394e5b031f2bd85 (patch) | |
| tree | 67ad8a2d3e6c6d17df861881a62aad8696d40678 /scripts/Makefile.thinlto | |
| parent | block: avoid integer overflows in max_integrity_io_size (diff) | |
block: cap atomic write size by PI buffer size constraints
As Sashiko points out, limiting the I/O size by the size of the available
PI buffer can cause inconsistencies for atomic writes. This also limit
atomic_write_max_sectors in blk_validate_integrity_limits.
Fixes: ec7f31b2a2d3 ("block: make bio auto-integrity deadlock safe")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <mkp@kernel.org>
Link: https://patch.msgid.link/20260907074111.721054-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
