Re: [PATCH] NFS: Add acreg{min,max} and acdir{min,max} in milliseconds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Trond Myklebust wrote:
> On Fri, 2009-06-12 at 12:30 -0700, Amit Gud wrote:
>> We definitely want lookup caching turned on, always, including both
>> positive and negative caching.  But, we need to see new files, unlinks,
>> and renames much quicker than a second.
> 
> Then use the lookupcache option, since that's what it is for.
> 

Sorry, I don't understand.

Copying from your last mail:

> Secondly, we have already introduced finer control over the lookup
> caching as of Linux 2.6.28 and newer:
>         - if you want to ensure that machine A always see new files and
>         links immediately once they have been created, then
>         '-olookupcache=positive' should turn off negative dentry
>         caching.
>         - if you also want to ensure that it immediately sees renames,
>         unlinks and such, then '-olookupcache=none' will turn off lookup
>         caching altogether.

How is it possible to _not_ disable any caching (positive or negative
dentries) and still be able to see renames, unlinks and such in << 1s?


AG
--
May the source be with you.
http://www.cis.ksu.edu/~gud
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux