summaryrefslogtreecommitdiffstats
path: root/fs/quota
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2021-04-27 12:53:35 +0800
committerDavid Sterba <dsterba@suse.com>2021-06-21 15:19:08 +0200
commitfa04c16574c08ddea6885b5cd6a0ecb941bfa3c0 (patch)
treeec367291cfe57947b46cc06cff40b819e238a3f9 /fs/quota
parent390ed29b817e6de4e8a9dd1749659e7de8ed1c4c (diff)
downloadlinux-fa04c16574c08ddea6885b5cd6a0ecb941bfa3c0.tar.bz2
btrfs: make subpage metadata write path call its own endio functions
For subpage metadata, we're reusing two functions for subpage metadata write: - end_bio_extent_buffer_writepage() - write_one_eb() But the truth is, for subpage we just call end_bio_subpage_eb_writepage() without using any bit in end_bio_extent_buffer_writepage(). For write_one_eb(), it's pretty similar, but with a small part of code reused. There is really no need to pollute the existing code path if we're not really using most of them. So this patch will do the following change to separate the subpage metadata write path from regular write path by: - Use end_bio_subpage_eb_writepage() directly as endio in write_one_subpage_eb() - Directly call write_one_subpage_eb() in submit_eb_subpage() Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/quota')
0 files changed, 0 insertions, 0 deletions