diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-09-09 09:08:59 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-09-14 07:42:09 -0600 |
| commit | df7ed21685d5e258ca5c9e62a9bfad143317b7d0 (patch) | |
| tree | 139fb9ff87d29f683a47e6e42202871e1c4271ec /tools/lib/python/kdoc/python_version.py | |
| parent | 7de79a5ffe338b959be8cd862292596ac9f7848b (diff) | |
| download | linux-next-df7ed21685d5e258ca5c9e62a9bfad143317b7d0.tar.gz linux-next-df7ed21685d5e258ca5c9e62a9bfad143317b7d0.zip | |
iomap: better read bounce buffering support
Add helpers to bounce buffer an upper bio into one or more lower bios
using bounce buffers, and to copy the data back on completion.
Compared to the existing IOMAP_DIO_BOUNCE support for read bios, this
has two advantages: by removing the special bounce bio_vec it allows
to the full and "round" size of a single bio, i.e., 1MiB when using
4k pages. This is important for good performance on HDD. Additionally
it allows to bounce buffer a bio from completion conext, and thus
implement a "lazy" bounce buffering scheme, where the data is only
read into a bounce buffer after an initial checksum validation failure,
thus avoiding the bounce buffering I/O for most I/O.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Link: https://patch.msgid.link/20260909060924.1102037-11-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
