xfs/013: exit cleaner thread if fsstress dies
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 30 Aug 2017 04:40:56 +0000 (21:40 -0700)
committerEryu Guan <eguan@redhat.com>
Sun, 3 Sep 2017 04:19:26 +0000 (12:19 +0800)
commita0c125b49666fd10e2ad22beed8e3d820114dfd0
treebb9daa1042510c6acfed48f403fab5daf7596652
parentfc3c28b307847a60ba9c463dc47a61c64c07debf
xfs/013: exit cleaner thread if fsstress dies

In this test, the cleaner thread deletes the directory trees created
by fsstress in order to exercise the free inode btree code.
However, if fsstress dies, the cleaner can end up waiting forever
for a directory that will never be created, which hangs up the test
run. Therefore, abort if fsstress has ended.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/xfs/013