[lustre-devel] HELP: why introduce BFL

keguang xu <[email protected]> Thu, 16 Jan 2025 14:34:40 +0800
Newsgroups org.lustre.lists.lustre-devel
Message-ID <CAF83deQP-kUCt0BNdAOajQ02Gqi-s0+yjipAW2fL8pz1uxxzNg@mail.gmail.com>
Hi Lustre devs,

I came across *mdt_reint_rename*() and noticed the global lock *BFL.* Given
that parent and child locks are already acquired in a consistent order,
preventing deadlock, I'm unclear about the necessity of the BFL lock
specifically for cross-MDT renames. Furthermore, when setting `remote` only
source parent/object are considered, why exclude the target parent?

Correct me if I misunderstood the code above. Thank you for your input.

Best regards,
kg.xu

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