Skip to contentSkip to conversation

LDLM behaviour question

lustre-devel Degremont, Aurelien via lustre-devel 1 participant 2 messages Mar 8, 2021 – Mar 12, 2021

lore
Share & tools
lore
#0 lore raw

Hi all,

I was not able to find a document giving this level of detail of LDLM behavior. 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?

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
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org

#1 lore raw

Aurélien,

Quoted 5 lines

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

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>

Quoted 5 lines

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 …

Quoted 10 lines

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
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org

_______________________________________________
lustre-devel mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org