Whamcloud - gitweb
e2fsck: create logs for mult-threads
authorLi Xi <lixi@ddn.com>
Tue, 13 Aug 2019 03:55:27 +0000 (11:55 +0800)
committerLi Dongyang <dongyangli@ddn.com>
Thu, 8 Apr 2021 00:51:13 +0000 (10:51 +1000)
commit63e65b9021f1f4d71d2a0791abde24bcd08ed1fe
tree9a3ac39699c00f40880aed7dbd20b649a39bc658
parent8089666e6c85a6b4a225630046c6c1ef34868f07
e2fsck: create logs for mult-threads

When multi-threads are used, different logs should be created
for different threads. Each thread has log files with suffix
of ".$THREAD_INDEX".

And this patch adds f_multithread_logfile test case.

E2fsprogs-commit: 2643de7d00dc8da9f5be79fab768fca7a27f3745

Change-Id: I86982866b9e8e2d2cc5ac2ec9ac44a3b802c21e0
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
tests/f_multithread_logfile/expect.1 [new file with mode: 0644]
tests/f_multithread_logfile/image.gz [new symlink]
tests/f_multithread_logfile/name [new file with mode: 0644]
tests/f_multithread_logfile/script [new file with mode: 0644]