summaryrefslogtreecommitdiffstats
path: root/mm/readahead.c
diff options
context:
space:
mode:
authorChristoph Hellwig2018-06-01 18:03:05 +0200
committerDarrick J. Wong2018-06-02 03:37:32 +0200
commit0aa69fd32a5f766e997ca8ab4723c5a1146efa8b (patch)
treeb86c0cb774082d38cb98b791a4d18b8efc4360b7 /mm/readahead.c
parentxfs: fix error handling in xfs_refcount_insert() (diff)
downloadkernel-qcow2-linux-0aa69fd32a5f766e997ca8ab4723c5a1146efa8b.tar.gz
kernel-qcow2-linux-0aa69fd32a5f766e997ca8ab4723c5a1146efa8b.tar.xz
kernel-qcow2-linux-0aa69fd32a5f766e997ca8ab4723c5a1146efa8b.zip
block: add a lower-level bio_add_page interface
For the upcoming removal of buffer heads in XFS we need to keep track of the number of outstanding writeback requests per page. For this we need to know if bio_add_page merged a region with the previous bvec or not. Instead of adding additional arguments this refactors bio_add_page to be implemented using three lower level helpers which users like XFS can use directly if they care about the merge decisions. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jens Axboe <axboe@kernel.dk> Reviewed-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'mm/readahead.c')
0 files changed, 0 insertions, 0 deletions