[lustre-devel] LDLM behaviour question

Alexey Lyashkov umka at cloudlinux.com
Thu Mar 11 20:36:05 PST 2021


> 8 марта 2021 г., в 17:09, Degremont, Aurelien via lustre-devel <lustre-devel at 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 <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 at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20210312/d919bb98/attachment.html>

More information about the lustre-devel mailing list