Whamcloud - gitweb
e2fsck: create logs for mult-threads
authorLi Xi <lixi@ddn.com>
Tue, 13 Aug 2019 03:55:27 +0000 (11:55 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 19 Sep 2022 21:40:05 +0000 (15:40 -0600)
commita806ecd1a080ebd0a96346d8635ccd0d658864f2
tree4b2a1d7f0b828995790d056ade379a381a1a8778
parentd2efefefaa8522f2532e9e40914d990ba164f508
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]