Skip to content
Commit d745a8c2 authored by Jan Kara's avatar Jan Kara Committed by Theodore Ts'o
Browse files

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: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent cd2c080c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment