summaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2008-01-03 11:31:38 +0000
committerSteven Whitehouse <swhiteho@redhat.com>2008-01-25 08:16:41 +0000
commite5d9dc278c7f79c220e4506cc1ade2efa2ca73fd (patch)
treef984562ccb3b29f31fa1e63d4dfe1f01d8e74be7 /fs/gfs2
parent65a6290998f3d38b5c5e84423ae9e08bdd957095 (diff)
downloadop-kernel-dev-e5d9dc278c7f79c220e4506cc1ade2efa2ca73fd.zip
op-kernel-dev-e5d9dc278c7f79c220e4506cc1ade2efa2ca73fd.tar.gz
[GFS2] Allow page migration for writeback and ordered pages
To improve performance on NUMA, we use the VM's standard page migration for writeback and ordered pages. Probably we could also do the same for journaled data, but that would need a careful audit of the code, so will be the subject of a later patch. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/ops_address.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/gfs2/ops_address.c b/fs/gfs2/ops_address.c
index 8f94e30..e16ad81 100644
--- a/fs/gfs2/ops_address.c
+++ b/fs/gfs2/ops_address.c
@@ -1098,6 +1098,7 @@ static const struct address_space_operations gfs2_writeback_aops = {
.invalidatepage = gfs2_invalidatepage,
.releasepage = gfs2_releasepage,
.direct_IO = gfs2_direct_IO,
+ .migratepage = buffer_migrate_page,
};
static const struct address_space_operations gfs2_ordered_aops = {
@@ -1112,6 +1113,7 @@ static const struct address_space_operations gfs2_ordered_aops = {
.invalidatepage = gfs2_invalidatepage,
.releasepage = gfs2_releasepage,
.direct_IO = gfs2_direct_IO,
+ .migratepage = buffer_migrate_page,
};
static const struct address_space_operations gfs2_jdata_aops = {
OpenPOWER on IntegriCloud