linux-stable-rt/fs/nfs
Dave Chinner 7f8275d0d6 mm: add context argument to shrinker callback
The current shrinker implementation requires the registered callback
to have global state to work from. This makes it difficult to shrink
caches that are not global (e.g. per-filesystem caches). Pass the shrinker
structure to the callback so that users can embed the shrinker structure
in the context the shrinker needs to operate on and get back to it in the
callback via container_of().

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2010-07-19 14:56:17 +10:00
..
Kconfig
Makefile
cache_lib.c
cache_lib.h
callback.c
callback.h
callback_proc.c
callback_xdr.c
client.c NFSv4.1: Ensure that we initialise the session when following a referral 2010-06-22 13:22:53 -04:00
delegation.c
delegation.h
dir.c mm: add context argument to shrinker callback 2010-07-19 14:56:17 +10:00
direct.c
dns_resolve.c
dns_resolve.h
file.c drop unused dentry argument to ->fsync 2010-05-27 22:05:02 -04:00
fscache-index.c
fscache.c
fscache.h
getroot.c nfs4 use mandatory attribute file type in nfs4_get_root 2010-06-22 13:17:43 -04:00
idmap.c
inode.c
internal.h mm: add context argument to shrinker callback 2010-07-19 14:56:17 +10:00
iostat.h
mount_clnt.c
namespace.c
nfs2xdr.c
nfs3acl.c
nfs3proc.c
nfs3xdr.c
nfs4_fs.h
nfs4namespace.c
nfs4proc.c
nfs4renewd.c
nfs4state.c
nfs4xdr.c NFSv4: Fix an embarassing typo in encode_attrs() 2010-06-22 13:22:54 -04:00
nfsroot.c
pagelist.c
proc.c
read.c NFS: Read requests can use GFP_KERNEL. 2010-05-14 15:09:34 -04:00
super.c NFSv4: Ensure that /proc/self/mountinfo displays the minor version number 2010-06-22 13:22:53 -04:00
symlink.c
sysctl.c
unlink.c
write.c NFS: Fix another nfs_wb_page() deadlock 2010-05-26 08:43:53 -04:00