summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2017-06-20 08:15:26 -0400
committerDavid Sterba <dsterba@suse.com>2017-06-21 15:48:01 +0200
commitcddf3b2cb33e01087e82580a4a7d508f08ba59e4 (patch)
tree824ddac5ec4cf65c11bb4a0ccc70898b80ed8f2e /fs/btrfs/file.c
parent7dfb8be11b5d1db4325414ce16b8c164e08f52d8 (diff)
downloadlinux-cddf3b2cb33e01087e82580a4a7d508f08ba59e4.tar.gz
linux-cddf3b2cb33e01087e82580a4a7d508f08ba59e4.tar.bz2
linux-cddf3b2cb33e01087e82580a4a7d508f08ba59e4.zip
btrfs: add cond_resched to btrfs_qgroup_trace_leaf_items
On an uncontended system, we can end up hitting soft lockups while doing replace_path. At the core, and frequently called is btrfs_qgroup_trace_leaf_items, so it makes sense to add a cond_resched there. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions