[Ocfs2-tools-devel] [ocfs2-tools-devel] Fsck.ocfs2 Questions

piaojun piaojun at huawei.com
Mon Nov 20 23:34:15 PST 2017


Hi Joel Becker,

>From my testing, I found 'fsck.ocfs2 -fy' without I/O cache is much
faster. so I wonder if your patch can improve fsck's speed. My test is
as below:

Step1: delete 'o2fsck_init_cache' from code, and compile fsck again.
Step2: run 'time fsck.ocfs2 -fy /dev/mapper/****', and record time.

Test Result:
I/O cache version:
real 0m22.954s
user 0m0.208s
sys 0m5.821s

No cache version:
real 0m16.931s
user 0m0.032s
sys 0m0.051s

link:https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_markfasheh_ocfs2-2Dtools_commit_1770929e5dfc1f85c8e3f89a1d7f0ecfbd284839&d=DwICaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=O5cCAbu465xBYvKnRkqjGxKXxI8YKZ1I5XfW6gFnHbE&m=yshzS8k3xQoJuu_RFvxkq1cWGVJtTF5hGPKqXw1iej0&s=nP5YGc3CB2o5UUIDadobz45EpGNi_Q9OY8M7XzhIeis&e=



More information about the Ocfs2-tools-devel mailing list