summaryrefslogtreecommitdiff
path: root/Documentation/filesystems/f2fs.rst
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2021-06-22 22:56:44 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2021-06-28 18:47:52 +0300
commit132e3209789c647e37dc398ef36af4de13f104b4 (patch)
tree2191a2d470947c5e5fb5ac8e84a57705d2c6415b /Documentation/filesystems/f2fs.rst
parent4215d054aea002ab36290504b1d8bb98df43d3eb (diff)
downloadlinux-132e3209789c647e37dc398ef36af4de13f104b4.tar.xz
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>
Diffstat (limited to 'Documentation/filesystems/f2fs.rst')
0 files changed, 0 insertions, 0 deletions