[Lustre-devel] Sub Tree lock ideas.

Oleg Drokin Oleg.Drokin at Sun.COM
Tue Feb 3 11:25:07 PST 2009


On Feb 3, 2009, at 2:12 PM, Nikita Danilov wrote:
>> When client B looks up /a during its path traversal, it will get a
>> lock cookie
>> of the STL lock and will start presenting it with further lookups.
>> If /a/b/c became a working dir of process B before STL on /a was
>> granted, then
>> /a/b/c has a normal lock for client B and STL does not cover that
>> subtree.
> Yes, this is the case I meant. So we have to track (and recover)  
> current
> directories for all client processes.

We do this with locks.
If lock is invalid, we are forced to back-traverse the path until we
meet any client-visible lock or rot of the filesystem.


More information about the lustre-devel mailing list