]> 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, 25 Nov 2021 18:58:53 +0000 (13:58 -0500)
commit55bd9b0445a30d8cb030f211d2a003fa03149034
tree07797983d7aa6a3417210c29681a2d66e92ddeb1
parent41830f53ec35240f5b2d6a8c37cf847cc32da068
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