android_kernel_xiaomi_sm8350/fs/ntfs
Andi Kleen aa261f549d HWPOISON: Enable .remove_error_page for migration aware file systems
Enable removing of corrupted pages through truncation
for a bunch of file systems: ext*, xfs, gfs2, ocfs2, ntfs
These should cover most server needs.

I chose the set of migration aware file systems for this
for now, assuming they have been especially audited.
But in general it should be safe for all file systems
on the data area that support read/write and truncate.

Caveat: the hardware error handler does not take i_mutex
for now before calling the truncate function. Is that ok?

Cc: tytso@mit.edu
Cc: hch@infradead.org
Cc: mfasheh@suse.com
Cc: aia21@cantab.net
Cc: hugh.dickins@tiscali.co.uk
Cc: swhiteho@redhat.com
Signed-off-by: Andi Kleen <ak@linux.intel.com>
2009-09-16 11:50:16 +02:00
..
aops.c HWPOISON: Enable .remove_error_page for migration aware file systems 2009-09-16 11:50:16 +02:00
aops.h
attrib.c NTFS: Fix read regression. 2007-11-03 12:27:21 -07:00
attrib.h
bitmap.c
bitmap.h
ChangeLog fix typo "insted" -> "instead" 2007-10-20 01:55:04 +02:00
collate.c
collate.h
compress.c fs: rename buffer trylock 2008-08-04 21:56:09 -07:00
debug.c
debug.h ntfs: don't fool kernel-doc 2008-12-01 19:55:25 -08:00
dir.c ntfs: remove private wrapper of endian helpers 2009-04-01 08:59:18 -07:00
dir.h
endian.h
file.c ntfs: Use new syncing helpers and update comments 2009-09-14 17:08:16 +02:00
index.c
index.h
inode.c ntfs: use is_power_of_2() function for clarity. 2009-06-16 19:47:48 -07:00
inode.h
Kconfig fs/Kconfig: move ntfs out 2009-01-22 13:15:55 +03:00
layout.h ntfs: remove private wrapper of endian helpers 2009-04-01 08:59:18 -07:00
lcnalloc.c
lcnalloc.h
logfile.c ntfs: use is_power_of_2() function for clarity. 2009-06-16 19:47:48 -07:00
logfile.h ntfs: remove private wrapper of endian helpers 2009-04-01 08:59:18 -07:00
Makefile
malloc.h is_vmalloc_addr(): Check if an address is within the vmalloc boundaries 2008-02-05 09:44:14 -08:00
mft.c ntfs: Use new syncing helpers and update comments 2009-09-14 17:08:16 +02:00
mft.h
mst.c
namei.c [PATCH] switch all filesystems over to d_obtain_alias 2008-10-23 05:13:01 -04:00
ntfs.h exportfs: make struct export_operations const 2007-10-22 08:13:21 -07:00
quota.c
quota.h
runlist.c
runlist.h
super.c Push BKL down into ->remount_fs() 2009-06-11 21:36:11 -04:00
sysctl.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
sysctl.h Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
time.h
types.h
unistr.c
upcase.c ntfs: le*_add_cpu conversion 2008-05-24 09:56:08 -07:00
usnjrnl.c
usnjrnl.h ntfs: remove private wrapper of endian helpers 2009-04-01 08:59:18 -07:00
volume.h