Jaegeuk Kim 132e320978 f2fs: remove false alarm on iget failure during GC
This patch removes setting SBI_NEED_FSCK when GC gets an error on f2fs_iget,
since f2fs_iget can give ENOMEM and others by race condition.
If we set this critical fsck flag, we'll get EIO during fsync via the below
code path.

In f2fs_inplace_write_data(),

	if (is_sbi_flag_set(sbi, SBI_NEED_FSCK) || f2fs_cp_error(sbi)) {
		err = -EIO;
		goto drop_bio;
	}

Fixes: 9557727876674 ("f2fs: drop inplace IO if fs status is abnormal")
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2021-06-28 08:47:52 -07:00
..
2021-04-10 10:36:39 -07:00
2021-01-24 14:27:20 +01:00
2021-06-23 01:09:34 -07:00
2021-03-30 18:48:56 -07:00
2021-01-27 15:20:07 -08:00
2021-05-04 18:03:38 -07:00
2021-05-04 18:03:38 -07:00
2021-04-10 10:36:39 -07:00