Commit [d745a8]  Maximize  Restore  History

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 <>
Signed-off-by: "Theodore Ts'o" <>

Jan Kara Jan Kara 2014-05-26

Theodore Ts'o Theodore Ts'o 2014-05-26

changed fs/ext4/namei.c
fs/ext4/namei.c Diff Switch to side-by-side view

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks