Aurélien,



8 марта 2021 г., в 17:09, Degremont, Aurelien via lustre-devel <lustre-devel@lists.lustre.org> написал(а):

Hi all,

I was not able to find a document giving this level of detail of LDLM behavior.
I think this aged book will good start. https://wiki.lustre.org/images/d/da/Understanding_Lustre_Filesystem_Internals.pdf


I have a basic question regarding compatibility between IBITS lock for the same fid.

Is it possible for the same MDT to lock the same FID, with 2 IBITS lock, with different bits? (ie: UPDATE vs LAYOUT)
What's the behavior is not working?

Yes, this is possible. Same story as LOOKUP, OPEN, DOM …


Second question: what happen when you call multiple times mdt_object_lock() for the same fid/same bits on the same MDT?

Thanks

Aurélien

_______________________________________________
lustre-devel mailing list
lustre-devel@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org