diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-05-18 14:07:56 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-05-20 11:46:15 -0700 |
commit | 38f91ca8c0ea69f707c26f592dcc70f937088bcc (patch) | |
tree | 746c2c5769a93e49649b6d0b3a988c3c28c3319c /fs/f2fs/data.c | |
parent | 975756c41332bc5e523e9f843271ed5ab6aaaaaa (diff) | |
download | lwn-38f91ca8c0ea69f707c26f592dcc70f937088bcc.tar.gz lwn-38f91ca8c0ea69f707c26f592dcc70f937088bcc.zip |
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>
Diffstat (limited to 'fs/f2fs/data.c')
-rw-r--r-- | fs/f2fs/data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index faef6667ba45..105dd3d5cf5e 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -68,7 +68,7 @@ static void f2fs_write_end_io(struct bio *bio) 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); } |