diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-01-04 18:58:17 +0300 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-12-16 23:49:51 +0300 |
commit | 640d1930bef4f87ec8d8d2b05f0f6edc1dfcf662 (patch) | |
tree | ccedd42d6e47ae1b1c67e4f77b50ad9d8f150f7b /Documentation/core-api | |
parent | 85f5a74c2b9ba213d4102dc12ccbfdbe26472abb (diff) | |
download | linux-640d1930bef4f87ec8d8d2b05f0f6edc1dfcf662.tar.xz |
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: |