Re: [LSF/MM TOPIC] Network filesystem cache management system call

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

 



On Jan 6, 2017, at 3:40 PM, David Howells <dhowells@xxxxxxxxxx> wrote:
> 
> AFS filesystem implementations like OpenAFS have a number of management calls
> usually implemented through the pioctl() and afs() system calls.  However,
> there is general revulsion to the idea of allowing these in Linux as they are
> very much abused.
> 
> Now, I need to come up with replacements for these.  For some I can use
> getxattr()/setxattr(), for some keyrings and for others procfs/sysfs, but for
> some I can't.
> 
> One of these is the call to manage local caching on a file or volume.  This,
> however, doesn't really need to be limited to AFS, but could also be
> applicable to NFS, CIFS, etc. - and possibly even to local filesystems.
> 
> A brainstorming session on this would be useful.

This is definitely something I'd like to discuss as well.  The posix_fadvise()
call doesn't interact with the filesystem at all, so it isn't a useful source
of cache management hints.  We've implemented a Lustre-specific ladvise hint
using an ioctl to advise client and server caches, but having a generic hint
API would be better.

Cheers, Andreas





Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux