aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_address.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2008-01-03 06:31:38 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2008-01-25 03:16:41 -0500
commite5d9dc278c7f79c220e4506cc1ade2efa2ca73fd (patch)
treef984562ccb3b29f31fa1e63d4dfe1f01d8e74be7 /fs/gfs2/ops_address.c
parent65a6290998f3d38b5c5e84423ae9e08bdd957095 (diff)
[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/ops_address.c')
-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 8f94e306c862..e16ad8104495 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 = {
1098 .invalidatepage = gfs2_invalidatepage, 1098 .invalidatepage = gfs2_invalidatepage,
1099 .releasepage = gfs2_releasepage, 1099 .releasepage = gfs2_releasepage,
1100 .direct_IO = gfs2_direct_IO, 1100 .direct_IO = gfs2_direct_IO,
1101 .migratepage = buffer_migrate_page,
1101}; 1102};
1102 1103
1103static const struct address_space_operations gfs2_ordered_aops = { 1104static const struct address_space_operations gfs2_ordered_aops = {
@@ -1112,6 +1113,7 @@ static const struct address_space_operations gfs2_ordered_aops = {
1112 .invalidatepage = gfs2_invalidatepage, 1113 .invalidatepage = gfs2_invalidatepage,
1113 .releasepage = gfs2_releasepage, 1114 .releasepage = gfs2_releasepage,
1114 .direct_IO = gfs2_direct_IO, 1115 .direct_IO = gfs2_direct_IO,
1116 .migratepage = buffer_migrate_page,
1115}; 1117};
1116 1118
1117static const struct address_space_operations gfs2_jdata_aops = { 1119static const struct address_space_operations gfs2_jdata_aops = {