]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ext4: reduce contention on s_orphan_lock
authorJan Kara <jack@suse.cz>
Mon, 26 May 2014 15:56:53 +0000 (11:56 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 26 May 2014 15:56:53 +0000 (11:56 -0400)
commit5cce8efe0bb96dd6f40cc074351be1b72d649b8f
treec61f4f25b8bf4f25c30d8bc7933645b49387649f
parent6f3ec221b1058c77e5f9fca8551508cc69a70b26
ext4: reduce contention on s_orphan_lock

Shuffle code around in ext4_orphan_add() and ext4_orphan_del() so that
we avoid taking global s_orphan_lock in some cases and hold it for
shorter time in other cases.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/namei.c