diff options
| author | Filipe Manana <[email protected]> | 2022-09-19 14:06:31 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-09-29 15:08:30 +0000 |
| commit | 99ba0c815058805a179d0edf8ddd421898798957 (patch) | |
| tree | 48f8cc0d641eae20859556fe7262041295394616 /fs/jbd2/commit.c | |
| parent | btrfs: use extent_map_end() at btrfs_drop_extent_map_range() (diff) | |
| download | kernel-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
