[Lustre-devel] Some investigations on MDS creation rate

Alex Zhuravlev Alex.Zhuravlev at Sun.COM
Tue Feb 17 06:17:23 UTC 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.

thanks, Alex


More information about the lustre-devel mailing list