generic/561: kill duperemove after sleep_time
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 24 Jul 2019 04:13:06 +0000 (21:13 -0700)
committerEryu Guan <guaneryu@gmail.com>
Sun, 28 Jul 2019 11:40:03 +0000 (19:40 +0800)
commit2405d4bc0b4bd38054b3cce10ee7b7322b8613c3
treed94441c59552bf89a4fa3390b2457eaa52e1cc0c
parenta96e77e7a428fd81d9b247993ce6b6fb0ddb64fc
generic/561: kill duperemove after sleep_time

generic/561 can take a very long time to run on XFS (45+ minutes)
because it kicks off fsstress and a lot of duperemove processes,
waits 50 seconds, and then waits for the duperemove processes to
finish.  duperemove, however, fights with fsstress for file locks
and can take a very long time to make even a single pass over the
filesystem and exit, which means the test just takes forever to run.

Once we've decided to tear down the duperemove processes let's just send
them SIGINT and then wait for them to exit.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/561