[Lustre-devel] Some investigations on MDS creation rate
Alex.Zhuravlev at Sun.COM
Mon Feb 16 22:17:23 PST 2009
Oleg Drokin wrote:
>> notice HEAD takes two ldlm locks for each create, 1.6 takes one.
> What is the other one? I am looking at mdt_md_create and I see it locks
> parent, but not child, just like b1_6.
one lock on whole parent directory (to invalidate client's cache), another
lock on part of parent directory with given hash. this is workaround for
slow creates from multiple clients due to rep-ack mechanism.
More information about the lustre-devel