aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2022-09-19 14:06:31 +0000
committerDavid Sterba <[email protected]>2022-09-29 15:08:30 +0000
commit99ba0c815058805a179d0edf8ddd421898798957 (patch)
tree48f8cc0d641eae20859556fe7262041295394616 /fs/jbd2/commit.c
parentbtrfs: use extent_map_end() at btrfs_drop_extent_map_range() (diff)
downloadkernel-99ba0c815058805a179d0edf8ddd421898798957.tar.gz
kernel-99ba0c815058805a179d0edf8ddd421898798957.zip
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 <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions