[Lustre-discuss] Client directory entry caching

Oleg Drokin oleg.drokin at oracle.com
Wed Aug 4 07:52:51 PDT 2010


Hello!

On Aug 4, 2010, at 3:41 AM, Andreas Dilger wrote:
>>> mkdir("/mnt/lustre/blah2/b/c/d/e/f/g", 040755) = 0
>>> +1 RPC
>>> 
>>> lstat("/mnt/lustre/blah2/b/c/d/e/f/g", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
>>> +1 RPC
> If we do the mkdir(), the client does not cache the entry?

No. mkdir cannot return a lock so we cannot cache anything. Same for opens when open cache is disabled.

Bye,
    Oleg


More information about the lustre-discuss mailing list