linux/fs/f2fs
Jaegeuk Kim cf779cab14 f2fs: handle EIO not to break fs consistency
There are two rules when EIO is occurred.
1. don't write any checkpoint data to preserve the previous checkpoint
2. don't lose the cached dentry/node/meta pages

So, at first, this patch adds set_page_dirty in f2fs_write_end_io's failure.
Then, writing checkpoint/dentry/node blocks is not allowed.

Note that, for the data pages, we can't just throw away by redirtying them.
Otherwise, kworker can fall into infinite loop to flush them.
(Ref. xfstests/019)

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2014-08-21 13:55:05 -07:00
..
acl.c f2fs: remove the redundant validation check of acl 2014-07-09 14:04:25 -07:00
acl.h f2fs: use generic posix ACL infrastructure 2014-01-25 23:58:19 -05:00
checkpoint.c f2fs: handle EIO not to break fs consistency 2014-08-21 13:55:05 -07:00
data.c f2fs: handle EIO not to break fs consistency 2014-08-21 13:55:05 -07:00
debug.c f2fs: fix typo 2014-08-19 10:01:33 -07:00
dir.c f2fs: fix typo 2014-08-19 10:01:33 -07:00
f2fs.h f2fs: introduce f2fs_cp_error for readability 2014-08-21 09:21:00 -07:00
file.c f2fs: should convert inline_data during the mkwrite 2014-08-19 10:01:33 -07:00
gc.c f2fs: introduce f2fs_cp_error for readability 2014-08-21 09:21:00 -07:00
gc.h f2fs: fix typo 2014-08-19 10:01:33 -07:00
hash.c f2fs: arguments cleanup of finding file flow functions 2014-07-09 14:04:26 -07:00
inline.c f2fs: make clear on test condition and return types 2014-08-19 10:01:33 -07:00
inode.c f2fs: invalidate xattr node page when evict inode 2014-08-04 13:01:22 -07:00
Kconfig f2fs: fix typo 2014-08-19 10:01:33 -07:00
Makefile f2fs: key functions to handle inline data 2013-12-26 20:40:09 +09:00
namei.c f2fs: fix typo 2014-08-19 10:01:33 -07:00
node.c f2fs: handle EIO not to break fs consistency 2014-08-21 13:55:05 -07:00
node.h f2fs: refactor flush_nat_entries codes for reducing NAT writes 2014-07-09 14:04:25 -07:00
recovery.c f2fs: avoid bug_on when error is occurred 2014-08-19 10:01:35 -07:00
segment.c f2fs: fix typo 2014-08-19 10:01:33 -07:00
segment.h f2fs: fix typo 2014-08-19 10:01:33 -07:00
super.c f2fs: handle EIO not to break fs consistency 2014-08-21 13:55:05 -07:00
xattr.c f2fs: fix typo 2014-08-19 10:01:33 -07:00
xattr.h f2fs: pass flags field to setxattr functions 2014-05-07 10:21:56 +09:00