]> git.hungrycats.org Git - linux/commit
btrfs: don't needlessly create extent-refs kernel thread
authorDavid Sterba <dsterba@suse.com>
Sat, 12 Oct 2019 16:42:10 +0000 (18:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Oct 2019 08:22:43 +0000 (09:22 +0100)
commitfb5b7a63e55641adef3a2c84f31ab4956f510e43
tree9154b4493b9e1247e27a3dc454111355584db995
parent467e21ac196b2e0386db368891a801c73aafa572
btrfs: don't needlessly create extent-refs kernel thread

commit 80ed4548d0711d15ca51be5dee0ff813051cfc90 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/btrfs/ctree.h
fs/btrfs/disk-io.c