Skip to content

Commit

Permalink
HWPOISON: Enable error_remove_page for NFS
Browse files Browse the repository at this point in the history
Enable hardware memory error handling for NFS

Truncation of data pages at runtime should be safe in NFS,
even when it doesn't support migration so far.

Trond tells me migration is also queued up for 2.6.32.

Acked-by: Trond.Myklebust@netapp.com
Signed-off-by: Andi Kleen <ak@linux.intel.com>
  • Loading branch information
Andi Kleen authored and Andi Kleen committed Sep 16, 2009
1 parent aa261f5 commit f590f33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/nfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,7 @@ const struct address_space_operations nfs_file_aops = {
.direct_IO = nfs_direct_IO,
.migratepage = nfs_migrate_page,
.launder_page = nfs_launder_page,
.error_remove_page = generic_error_remove_page,
};

/*
Expand Down

0 comments on commit f590f33

Please sign in to comment.