]> git.hungrycats.org Git - linux/commit
fs: don't softlockup when evicting inodes
authorJosef Bacik <jbacik@fb.com>
Thu, 18 Dec 2014 16:34:23 +0000 (11:34 -0500)
committerJosef Bacik <jbacik@fb.com>
Fri, 19 Dec 2014 15:32:25 +0000 (10:32 -0500)
commit29249e14d6e3379a5c4bb098dd4beddfefbc606f
tree0bc1dc11ff138713cf0b7d8742693065dd46934e
parent2dbfca5a181973558277b28b1f4c36362291f5e0
fs: don't softlockup when evicting inodes

If I run an fs_mark job that creates millions of empty files and then
immediately unmount the file system I will get a softlockup during unmount.
This box has ~140gb of RAM so we never hit sufficient memory pressure to evict
enough inodes during the runtime of the benchmark, which means I see around 80
million inodes being evicted at unmount time.  With this patch my box no longer
softlocks up.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fb.com>
fs/inode.c