]> www.infradead.org Git - users/willy/linux.git/commit
block: Add bio_for_each_folio_all()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 4 Jan 2021 15:58:17 +0000 (10:58 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 16 Dec 2021 20:49:51 +0000 (15:49 -0500)
commit640d1930bef4f87ec8d8d2b05f0f6edc1dfcf662
treeccedd42d6e47ae1b1c67e4f77b50ad9d8f150f7b
parent85f5a74c2b9ba213d4102dc12ccbfdbe26472abb
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>
Documentation/core-api/kernel-api.rst
include/linux/bio.h