diff options
author | Christoph Hellwig <hch@lst.de> | 2023-05-31 08:05:01 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-06-19 13:59:35 +0200 |
commit | eb34dceace983e304e00d4bf711cec0a603959ac (patch) | |
tree | d14415196c37b086f2e93a6b840ed8eb011d2521 /sound/firewire/packets-buffer.c | |
parent | 9ecdbee819ca90589bf2efccfb90d5dabc0de057 (diff) |
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 'sound/firewire/packets-buffer.c')
0 files changed, 0 insertions, 0 deletions