commit | 38f91ca8c0ea69f707c26f592dcc70f937088bcc | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk@kernel.org> | Wed May 18 14:07:56 2016 -0700 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Fri May 20 11:46:15 2016 -0700 |
tree | 746c2c5769a93e49649b6d0b3a988c3c28c3319c | |
parent | 975756c41332bc5e523e9f843271ed5ab6aaaaaa [diff] [blame] |
f2fs: flush pending bios right away when error occurs Given errors, this patch flushes pending bios as soon as possible. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index faef666..105dd3d 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c
@@ -68,7 +68,7 @@ if (unlikely(bio->bi_error)) { set_bit(AS_EIO, &page->mapping->flags); - f2fs_stop_checkpoint(sbi); + f2fs_stop_checkpoint(sbi, true); } end_page_writeback(page); }