diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-01-04 16:58:17 +0100 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-12-16 21:49:51 +0100 |
commit | 640d1930bef4f87ec8d8d2b05f0f6edc1dfcf662 (patch) | |
tree | ccedd42d6e47ae1b1c67e4f77b50ad9d8f150f7b /Documentation/core-api | |
parent | block: Add bio_add_folio() (diff) | |
download | linux-640d1930bef4f87ec8d8d2b05f0f6edc1dfcf662.tar.xz linux-640d1930bef4f87ec8d8d2b05f0f6edc1dfcf662.zip |
block: Add bio_for_each_folio_all()
Allow callers to iterate over each folio instead of each page. The
bio need not have been constructed using folios originally.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'Documentation/core-api')
-rw-r--r-- | Documentation/core-api/kernel-api.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/core-api/kernel-api.rst b/Documentation/core-api/kernel-api.rst index 2e7186805148..7f0cb604b6ab 100644 --- a/Documentation/core-api/kernel-api.rst +++ b/Documentation/core-api/kernel-api.rst @@ -279,6 +279,7 @@ Accounting Framework Block Devices ============= +.. kernel-doc:: include/linux/bio.h .. kernel-doc:: block/blk-core.c :export: |