• Theodore Ts'o's avatar
    ext4: yield during large unlinks · 76828c88
    Theodore Ts'o authored
    During large unlink operations on files with extents, we can use a lot
    of CPU time.  This adds a cond_resched() call when starting to examine
    the next level of a multi-level extent tree.  Multi-level extent trees
    are rare in the first place, and this should rarely be executed.
    Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
    76828c88
extents.c 131 KB