Searched hist:"85 f5a74c" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | bio.h | 85f5a74c Thu Apr 08 00:33:45 CDT 2021 Matthew Wilcox (Oracle) <willy@infradead.org> block: Add bio_add_folio()
This is a thin wrapper around bio_add_page(). The main advantage here is the documentation that folios larger than 2GiB are not supported. It's not currently possible to allocate folios that large, but if it ever becomes possible, this function will fail gracefully instead of doing I/O to the wrong bytes.
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>
|
/openbmc/linux/block/ |
H A D | bio.c | 85f5a74c Thu Apr 08 00:33:45 CDT 2021 Matthew Wilcox (Oracle) <willy@infradead.org> block: Add bio_add_folio()
This is a thin wrapper around bio_add_page(). The main advantage here is the documentation that folios larger than 2GiB are not supported. It's not currently possible to allocate folios that large, but if it ever becomes possible, this function will fail gracefully instead of doing I/O to the wrong bytes.
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>
|