diff options
author | Matthew Wilcox (Oracle) <[email protected]> | 2021-04-08 01:33:45 -0400 |
---|---|---|
committer | Matthew Wilcox (Oracle) <[email protected]> | 2021-12-16 15:49:51 -0500 |
commit | 85f5a74c2b9ba213d4102dc12ccbfdbe26472abb (patch) | |
tree | 03ac987502f88052aaed845eae9de886a2edde3c /net/lapb/lapb_timer.c | |
parent | 2585cf9dfaaddf00b069673f27bb3f8530e2039c (diff) |
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) <[email protected]>
Reviewed-by: Jens Axboe <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions