summaryrefslogtreecommitdiffstats
path: root/fs/nfs/file.c
diff options
context:
space:
mode:
authorTrond Myklebust2009-08-10 14:54:13 +0200
committerTrond Myklebust2009-08-10 14:54:13 +0200
commit074cc1deec5dee63fcd5d966b36fa4f3765b50fc (patch)
tree14508949385a168ab2e43ca5bf7423473f25d839 /fs/nfs/file.c
parentNFSv4: Clean up the nfs.callback_tcpport option (diff)
downloadkernel-qcow2-linux-074cc1deec5dee63fcd5d966b36fa4f3765b50fc.tar.gz
kernel-qcow2-linux-074cc1deec5dee63fcd5d966b36fa4f3765b50fc.tar.xz
kernel-qcow2-linux-074cc1deec5dee63fcd5d966b36fa4f3765b50fc.zip
NFS: Add a ->migratepage() aop for NFS
Make NFS a bit more friendly to NUMA and memory hot removal... Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/file.c')
-rw-r--r--fs/nfs/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/file.c b/fs/nfs/file.c
index 05062329b678..dfc89671dc94 100644
--- a/fs/nfs/file.c
+++ b/fs/nfs/file.c
@@ -479,6 +479,7 @@ const struct address_space_operations nfs_file_aops = {
.invalidatepage = nfs_invalidate_page,
.releasepage = nfs_release_page,
.direct_IO = nfs_direct_IO,
+ .migratepage = nfs_migrate_page,
.launder_page = nfs_launder_page,
};