]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
e2fsck: configure one pfsck thread
authorLi Xi <lixi@ddn.com>
Thu, 15 Aug 2019 08:33:19 +0000 (16:33 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 25 Jan 2021 20:16:46 +0000 (15:16 -0500)
commitb2a9a40831dfbb6dacf8bbc819acac2c25ab6980
treefba18fabf1d36fbe3b1ad5516699d701585ed0d9
parent2643de7d00dc8da9f5be79fab768fca7a27f3745
e2fsck: configure one pfsck thread

This patch creates only one thread to do pass1 check if pthreads are
enabled. The same codes can be used to create multiple threads, but
other functions need to be modified to get ready for that.

Signed-off-by: Li Xi <lixi@ddn.com>
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/e2fsck.h
e2fsck/logfile.c
e2fsck/pass1.c
e2fsck/unix.c
tests/test_one.in