summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2022-09-19 17:06:31 +0300
committerDavid Sterba <dsterba@suse.com>2022-09-29 18:08:30 +0300
commit99ba0c815058805a179d0edf8ddd421898798957 (patch)
tree48f8cc0d641eae20859556fe7262041295394616 /tools/perf/scripts/python/task-analyzer.py
parentf3109e33bb0a523f70a3394b51c878dbedb60528 (diff)
downloadlinux-99ba0c815058805a179d0edf8ddd421898798957.tar.xz
btrfs: use cond_resched_rwlock_write() during inode eviction
At evict_inode_truncate_pages(), instead of manually checking if rescheduling is needed, then unlock the extent map tree, reschedule and then write lock again the tree, use the helper cond_resched_rwlock_write() which does all that. Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions