Whamcloud - gitweb
e2fsck: configure one pfsck thread
authorLi Xi <lixi@ddn.com>
Thu, 15 Aug 2019 08:33:19 +0000 (16:33 +0800)
committerLi Dongyang <dongyangli@ddn.com>
Fri, 28 Apr 2023 00:35:54 +0000 (10:35 +1000)
commitc02967310ee4388318fc37c5dea340874ce9a6f5
tree512c03d578e9593758e5e4d7f4e8322992ec09b9
parent463c1089ac3ae6eb174ef3463833bbbae35adfb2
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.

E2fsprogs-commit: b2a9a40831dfbb6dacf8bbc819acac2c25ab6980

Change-Id: I3df998a8ecc00d2dc5e959f5a9991a6b65182572
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