summaryrefslogtreecommitdiffstats
path: root/include/trace/events/f2fs.h
diff options
context:
space:
mode:
authorWeichao Guo <guoweichao@oppo.com>2021-09-18 14:46:36 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2021-09-21 01:29:00 +0200
commit6663b138ded1a59e630c9e605e42aa7fde490cdc (patch)
tree08608d82d41ef37267530125080801ebf197282c /include/trace/events/f2fs.h
parentf2fs: introduce excess_dirty_threshold() (diff)
downloadlinux-6663b138ded1a59e630c9e605e42aa7fde490cdc.tar.xz
linux-6663b138ded1a59e630c9e605e42aa7fde490cdc.zip
f2fs: set SBI_NEED_FSCK flag when inconsistent node block found
Inconsistent node block will cause a file fail to open or read, which could make the user process crashes or stucks. Let's mark SBI_NEED_FSCK flag to trigger a fix at next fsck time. After unlinking the corrupted file, the user process could regenerate a new one and work correctly. Signed-off-by: Weichao Guo <guoweichao@oppo.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/trace/events/f2fs.h')
0 files changed, 0 insertions, 0 deletions