mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-23 10:10:00 +00:00
0f3b8d9c02
commit 028af9f6067c1345023af9cd8ecbb76a770241ae category: bugfix issue: #I6VAS0 CVE: NA Signed-off-by: DongSenhao <dongsenhao2@huawei.com> --------------------------------------- On large SSDs filled with lots of data, fsck.f2fs can be very long to finish. For instance, on my 1TB SSD filled at 99%, it takes literally 5 minutes to complete. Currently, the only way to have some feedback is to enable debug output, but it is very verbose and doesn't tell the actual progress. This patch implements a simple progress report in the longest running part of the check (in fsck_chk_node_blk). The number of checked node / total valid nodes is printed every 1000 nodes checked, and the percentage of progress is also calculated and printed. Signed-off-by: Antoine Viallon <antoine@lesviallon.fr> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: dongsenhao <dongsenhao2@huawei.com> |
||
---|---|---|
.. | ||
BUILD.gn | ||
common.h | ||
compress.c | ||
compress.h | ||
defrag.c | ||
dict.c | ||
dict.h | ||
dir.c | ||
dqblk_v2.h | ||
dump.c | ||
f2fs.h | ||
fsck.c | ||
fsck.h | ||
main.c | ||
Makefile.am | ||
mkquota.c | ||
mount.c | ||
node.c | ||
node.h | ||
quotaio_tree.c | ||
quotaio_tree.h | ||
quotaio_v2.c | ||
quotaio_v2.h | ||
quotaio.c | ||
quotaio.h | ||
resize.c | ||
segment.c | ||
sload.c | ||
xattr.c | ||
xattr.h |