diff options
author | David Sterba <dsterba@suse.com> | 2019-10-12 18:42:10 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-10-15 15:43:29 +0200 |
commit | 80ed4548d0711d15ca51be5dee0ff813051cfc90 (patch) | |
tree | 8372a596b1a022ed3508b3d47469bd776f4e44c2 /fs/btrfs/ctree.h | |
parent | 4b654acdae850f48b8250b9a578a4eaa518c7a6f (diff) | |
download | linux-80ed4548d0711d15ca51be5dee0ff813051cfc90.tar.bz2 |
btrfs: don't needlessly create extent-refs kernel thread
The patch 32b593bfcb58 ("Btrfs: remove no longer used function to run
delayed refs asynchronously") removed the async delayed refs but the
thread has been created, without any use. Remove it to avoid resource
consumption.
Fixes: 32b593bfcb58 ("Btrfs: remove no longer used function to run delayed refs asynchronously")
CC: stable@vger.kernel.org # 5.2+
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 19d669d12ca1..c1489c229694 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -734,8 +734,6 @@ struct btrfs_fs_info { struct btrfs_workqueue *fixup_workers; struct btrfs_workqueue *delayed_workers; - /* the extent workers do delayed refs on the extent allocation tree */ - struct btrfs_workqueue *extent_workers; struct task_struct *transaction_kthread; struct task_struct *cleaner_kthread; u32 thread_pool_size; |