aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2020-12-18 14:24:19 -0500
committerDavid Sterba <[email protected]>2021-02-08 22:58:56 +0100
commitddfd08cb0484e491cae47a76ead051a168a0e644 (patch)
treeeccc8c52607a3d2e83a4fca2a44c8b3d34751a9d /arch/powerpc/lib/code-patching.c
parent867ed321f90d06aaba84e2c91de51cd3038825ef (diff)
btrfs: do not block on deleted bgs mutex in the cleaner
While running some stress tests I started getting hung task messages. This is because the delete unused block groups code has to take the delete_unused_bgs_mutex to do it's work, which is taken by balance to make sure we don't delete block groups while we're balancing. The problem is that balance can take a while, and so we were getting hung task warnings. We don't need to block and run these things, and the cleaner is needed to do other work, so trylock on this mutex and just bail if we can't acquire it right away. Reviewed-by: Nikolay Borisov <[email protected]> Signed-off-by: Josef Bacik <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions