diff options
author | Chris Mason <clm@fb.com> | 2019-07-10 21:28:18 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-11-18 12:46:53 +0100 |
commit | dbb70becde5b28940366ee419e0fdd3e09af44fb (patch) | |
tree | 2791d2ce3d70883a65335dafb19e347a639c8058 /fs/btrfs/tree-checker.c | |
parent | Btrfs: use REQ_CGROUP_PUNT for worker thread submitted bios (diff) | |
download | linux-dbb70becde5b28940366ee419e0fdd3e09af44fb.tar.xz linux-dbb70becde5b28940366ee419e0fdd3e09af44fb.zip |
Btrfs: extent_write_locked_range() should attach inode->i_wb
extent_write_locked_range() is used when we're falling back to buffered
IO from inside of compression. It allocates its own wbc and should
associate it with the inode's i_wb to make sure the IO goes down from
the correct cgroup.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Chris Mason <clm@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tree-checker.c')
0 files changed, 0 insertions, 0 deletions