[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090911184847.3E51EB1757@basil.firstfloor.org>
Date: Fri, 11 Sep 2009 20:48:47 +0200 (CEST)
From: Andi Kleen <andi@...stfloor.org>
To: linux-kernel@...r.kernel.org
Subject: [PATCH] [18/21] HWPOISON: Enable error_remove_page for NFS
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@...app.com
Signed-off-by: Andi Kleen <ak@...ux.intel.com>
---
fs/nfs/file.c | 1 +
1 file changed, 1 insertion(+)
Index: linux/fs/nfs/file.c
===================================================================
--- linux.orig/fs/nfs/file.c
+++ linux/fs/nfs/file.c
@@ -480,6 +480,7 @@ const struct address_space_operations nf
.releasepage = nfs_release_page,
.direct_IO = nfs_direct_IO,
.launder_page = nfs_launder_page,
+ .error_remove_page = generic_error_remove_page,
};
/*
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists