Whamcloud - gitweb
LU-8465 e2fsck: create logs for mult-threads 80/35780/5
authorLi Xi <lixi@ddn.com>
Tue, 13 Aug 2019 03:55:27 +0000 (11:55 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 25 Sep 2020 05:49:54 +0000 (05:49 +0000)
commit2023afea8aa825da45de7a66cee9e8182dd79cf9
treef5bfe08d14b0888abb2e08792b7f30b2aab131c4
parent0db312fbbc5d6a7b6cd5fa43b513e9fdfd9a717c
LU-8465 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.

Change-Id: I9d108f385a1edf06eb0fa67a311856ca9ab0d004
Signed-off-by: Li Xi <lixi@ddn.com>
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-on: https://review.whamcloud.com/35780
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
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]