summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-07-15 15:45:21 -0400
committerDavid Sterba <dsterba@suse.com>2022-09-26 12:27:54 +0200
commit2f12741f81af638dfb682dc2f24e6cbb67a37a2e (patch)
tree7d03a02d1e0a20e44f5c713b401406015cbe23d1 /fs/btrfs/dev-replace.c
parentd1f68ba0695a0ceba1a2ec72ee9b949fe4b92c98 (diff)
downloadlinux-2f12741f81af638dfb682dc2f24e6cbb67a37a2e.tar.gz
linux-2f12741f81af638dfb682dc2f24e6cbb67a37a2e.tar.bz2
linux-2f12741f81af638dfb682dc2f24e6cbb67a37a2e.zip
btrfs: use btrfs_fs_closing for background bg work
For both unused bg deletion and async balance work we'll happily run if the fs is closing. However I want to move these to their own worker thread, and they can be long running jobs, so add a check to see if we're closing and simply bail. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions