diff options
author | Christoph Hellwig <hch@lst.de> | 2019-06-17 11:14:11 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-06-17 09:33:02 -0600 |
commit | ff896738be381efa6e50ba9a3b6cdc94f69ada42 (patch) | |
tree | db48d8e6ce3cf63e89a9f5b0c7975709290aa75a /Documentation/dcdbas.txt | |
parent | 1d0c06513bd44e724f572ef9c932d0c889d183c6 (diff) |
block: return from __bio_try_merge_page if merging occured in the same page
We currently have an input same_page parameter to __bio_try_merge_page
to prohibit merging in the same page. The rationale for that is that
some callers need to account for every page added to a bio. Instead of
letting these callers call twice into the merge code to account for the
new vs existing page cases, just turn the paramter into an output one that
returns if a merge in the same page occured and let them act accordingly.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/dcdbas.txt')
0 files changed, 0 insertions, 0 deletions