Whamcloud - gitweb
e2fsck: propagate number of threads
authorSaranya Muruganandam <saranyamohan@google.com>
Fri, 13 Nov 2020 23:33:05 +0000 (15:33 -0800)
committerLi Dongyang <dongyangli@ddn.com>
Fri, 28 Apr 2023 00:47:13 +0000 (10:47 +1000)
commit6ceb453fd65533274a80ffff7111a9d84f826024
tree1fad2239105269fa42ec02cba39332b890ecdf03
parentc9dc09f4d04a7ab5474e106f7c4badf3604059da
e2fsck: propagate number of threads

Sometimes, such as in orphan_inode case, e2fsck_pass1
is called after reading the block bitmaps. This results in
reading the block bitmap sequentially and multithreading
only gets kicked in later. Fix the thread count earlier
while setting up the file system.

E2fsprogs-commit: 3f56676f4daa7379dbd868a4114910f20d49527d

Change-Id: I51ab36ad8094c605a32e4b7929fadb326d77169e
Signed-off-by: Saranya Muruganandam <saranyamohan@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/unix.c