diff options
author | 2023-05-31 08:05:01 +0200 | |
---|---|---|
committer | 2023-06-19 13:59:35 +0200 | |
commit | eb34dceace983e304e00d4bf711cec0a603959ac (patch) | |
tree | d14415196c37b086f2e93a6b840ed8eb011d2521 /drivers/pci/controller/dwc | |
parent | btrfs: move writeback_control::nr_to_write update to __extent_writepage (diff) | |
download | wireguard-linux-eb34dceace983e304e00d4bf711cec0a603959ac.tar.xz wireguard-linux-eb34dceace983e304e00d4bf711cec0a603959ac.zip |
btrfs: only call __extent_writepage_io from extent_write_locked_range
__extent_writepage does a lot of things that make no sense for
extent_write_locked_range, given that extent_write_locked_range itself is
called from __extent_writepage either directly or through a workqueue,
and all this work has already been done in the first invocation and the
pages haven't been unlocked since. Call __extent_writepage_io directly
instead and open code the logic tracked in
btrfs_bio_ctrl::extent_locked.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions