third_party_f2fs-tools/fsck
Weichao Guo 398c037d13 fsck.f2fs: use elapsed_time in checkpoint for period check
We now use walltime for monthly period check. However the walltime is:
* unstable(timestamp register reset) and settable(modified by user)
* unreasonable(e.g: device power-off for one month, no data changed)

When the walltime changes to the past before one month or the future
after one month, the period check in next fsck will fail to skip or
start a full scan. So, let's use the elapsed_time in checkpoint as
current time for period check.

Signed-off-by: Weichao Guo <guoweichao@oppo.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2024-04-15 11:31:46 +08:00
..
BUILD.gn f2fs_do_mount-dfx 2024-03-21 10:39:24 +08:00
common.h fsck.f2fs: support quota 2017-11-06 20:07:40 -08:00
compress.c dump.f2fs: compress: fix dstlen of LZ4_compress_fast_extState() 2023-04-13 14:13:51 +08:00
compress.h f2fs-tools:sload.f2fs compression support 2023-04-13 14:13:44 +08:00
defrag.c f2fs-tool: increase debug level from 0 to 1 in migrate_block 2023-04-13 14:13:44 +08:00
dict.c Remove unnecessary config.h 2024-04-15 11:29:16 +08:00
dict.h fsck.f2fs: support quota 2017-11-06 20:07:40 -08:00
dir.c Fix the MinGW build 2023-04-13 14:13:49 +08:00
dqblk_v2.h fsck.f2fs: support quota 2017-11-06 20:07:40 -08:00
dump.c dump.f2fs: add -I nid to dump inode by scan full disk 2024-04-15 11:29:16 +08:00
f2fs.h f2fs-tools: move android_config before defining them 2024-04-15 11:29:16 +08:00
fsck.c fsck.f2fs: drop compression bit if inline_data is set 2024-04-15 11:29:16 +08:00
fsck.h dump.f2fs: add -I nid to dump inode by scan full disk 2024-04-15 11:29:16 +08:00
main.c resize.f2fs: add option to manually specify new overprovision 2024-04-15 11:31:38 +08:00
Makefile.am Fix the MinGW build 2023-04-13 14:13:49 +08:00
mkquota.c Remove unnecessary config.h 2024-04-15 11:29:16 +08:00
mount.c fsck.f2fs: use elapsed_time in checkpoint for period check 2024-04-15 11:31:46 +08:00
node.c f2fs-tools: rebuild the quota inode if it is corrupted 2023-04-13 14:13:46 +08:00
node.h f2fs-tools: set cold flag for non-dir node 2020-06-18 12:38:18 -07:00
quotaio_tree.c Remove unnecessary config.h 2024-04-15 11:29:16 +08:00
quotaio_tree.h Remove unnecessary __attribute__((packed)) annotations 2023-04-13 14:13:49 +08:00
quotaio_v2.c Remove unnecessary config.h 2024-04-15 11:29:16 +08:00
quotaio_v2.h Remove unnecessary __attribute__((packed)) annotations 2023-04-13 14:13:49 +08:00
quotaio.c Remove unnecessary config.h 2024-04-15 11:29:16 +08:00
quotaio.h Fix the MinGW build 2023-04-13 14:13:49 +08:00
resize.c resize.f2fs: add option to manually specify new overprovision 2024-04-15 11:31:38 +08:00
segment.c fsck/segment.c: Remove dead code 2023-04-13 14:13:50 +08:00
sload.c configure.ac: Detect selinux/android.h 2023-04-13 14:13:49 +08:00
xattr.c f2fs-tools: use F2FS_BLKSIZE instead of PAGE_*_SIZE 2024-04-15 11:31:46 +08:00
xattr.h f2fs-tools: use F2FS_BLKSIZE instead of PAGE_*_SIZE 2024-04-15 11:31:46 +08:00