[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fuse-devel
Subject:    Re: [fuse-devel] When does fuse FORGET?
From:       Miklos Szeredi <miklos () szeredi ! hu>
Date:       2007-07-25 8:46:05
Message-ID: E1IDcVR-0002jC-00 () dorka ! pomaz ! szeredi ! hu
[Download RAW message or body]

> >> > > What causes FORGET requests to be issued?
> >> >
> >> > When the kernel shrinks the dcache (directory entry cache).
> >> >
> >> > > Can I force it?
> >> >
> >> > mount -i -oremount /tmp/fuse
> >> 
> >> Did you mean that this forces the kernel to shrink the dcache of the
> >> mountpoint?
> >
> >Yes.
> 
> But only in FUSE, is not it?

No, it does it in all cases:

| int do_remount_sb(struct super_block *sb, int flags, void *data, int force)
| {
| ...
| 	shrink_dcache_sb(sb);

Miklos

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
fuse-devel mailing list
fuse-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuse-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic