diff options
author | Theodore Ts'o <tytso@mit.edu> | 2013-07-15 16:27:47 (GMT) |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-07-15 16:27:47 (GMT) |
commit | 76828c882630ced08b5ddce22cc0095b05de9bc5 (patch) | |
tree | 1c053fd00116bfd578ccf6ec8b7b38e236ed14c9 /fs/ext4/inode.c | |
parent | e15f742ce816076497549b955fbec3254820db85 (diff) | |
download | linux-fsl-qoriq-76828c882630ced08b5ddce22cc0095b05de9bc5.tar.xz |
ext4: yield during large unlinks
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: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/inode.c')
0 files changed, 0 insertions, 0 deletions