diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-09-09 09:08:53 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-09-14 07:42:09 -0600 |
| commit | c7715a942e9daffe566bb87274714c170d06e256 (patch) | |
| tree | dfd9017609dab1408061a0224ae899267bc238b7 /include/linux | |
| parent | 3e756cc861e5a6c9ed428bb9918b4c5daaf42ee3 (diff) | |
| download | linux-next-c7715a942e9daffe566bb87274714c170d06e256.tar.gz linux-next-c7715a942e9daffe566bb87274714c170d06e256.zip | |
iomap: respect maximum I/O size in iomap_dio_bio_iter_one
Respect the maximum I/O size set for PI-enabled I/O in
iomap_dio_bio_iter_one, otherwise bio_integrity_alloc_buf could
under-allocate the integrity buffer when the initial kmalloc fails.
Currently this should not be triggered as file systems that limit the
size for PI always use bounce buffering, but this will change soon.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Link: https://patch.msgid.link/20260909060924.1102037-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
