Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d507f300 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: skip stop_checkpoint for user data writes



We can give another chance to write user data, which can resolve
generic/441.

Reviewed-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 4b242ffc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -111,6 +111,7 @@ static void f2fs_write_end_io(struct bio *bio)

		if (unlikely(bio->bi_status)) {
			mapping_set_error(page->mapping, -EIO);
			if (type == F2FS_WB_CP_DATA)
				f2fs_stop_checkpoint(sbi, true);
		}
		dec_page_count(sbi, type);