summaryrefslogtreecommitdiff
path: root/fs/befs
diff options
context:
space:
mode:
authorNaohiro Aota <naohiro.aota@wdc.com>2021-02-04 19:21:57 +0900
committerDavid Sterba <dsterba@suse.com>2021-02-09 02:46:04 +0100
commit953651eb308fb56cd1a2d916e3d3c8b242240651 (patch)
treea96a702730a25aadea0f507b24a23a336fb427bb /fs/befs
parentdcba6e48b518e5e48522e9ea2b73b60827c93146 (diff)
btrfs: factor out helper adding a page to bio
Factor out adding a page to a bio from submit_extent_page(). The page is added only when bio_flags are the same, contiguous and the added page fits in the same stripe as pages in the bio. Condition checks are reordered to allow early return to avoid possibly heavy btrfs_bio_fits_in_stripe() calling. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/befs')
0 files changed, 0 insertions, 0 deletions