summaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
diff options
context:
space:
mode:
authorAndi Kleen2009-09-16 11:50:13 +0200
committerAndi Kleen2009-09-16 11:50:13 +0200
commit257187362123f15d9d1e09918cf87cebbea4e786 (patch)
tree92b768ad3f2afeda13a2acadc6d5766090ebcc60 /mm/shmem.c
parentHWPOISON: Add invalidate_inode_page (diff)
downloadkernel-qcow2-linux-257187362123f15d9d1e09918cf87cebbea4e786.tar.gz
kernel-qcow2-linux-257187362123f15d9d1e09918cf87cebbea4e786.tar.xz
kernel-qcow2-linux-257187362123f15d9d1e09918cf87cebbea4e786.zip
HWPOISON: Define a new error_remove_page address space op for async truncation
Truncating metadata pages is not safe right now before we haven't audited all file systems. To enable truncation only for data address space define a new address_space callback error_remove_page. This is used for memory_failure.c memory error handling. This can be then set to truncate_inode_page() This patch just defines the new operation and adds documentation. Callers and users come in followon patches. Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions