]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
fuzzy: do not set _FSSTRESS_PID when exercising fsx
authorDarrick J. Wong <djwong@kernel.org>
Mon, 3 Feb 2025 22:00:26 +0000 (14:00 -0800)
committerZorro Lang <zlang@kernel.org>
Sun, 16 Feb 2025 11:25:57 +0000 (19:25 +0800)
commit48a3731b50baefc855ea76c7a03e68b811a5d6ea
treecfedf864e9b480b487f17c4eba6ad41ad2fc4bee
parente68a92376165987f7903b6661c46e2d54af4a16e
fuzzy: do not set _FSSTRESS_PID when exercising fsx

If we're not running fsstress as the scrub exerciser, don't set
_FSSTRESS_PID because the _kill_fsstress call in the cleanup function
will think that it has to wait for a nonexistant fsstress process.
This fixes the problem of xfs/565 runtime increasing from 30s to 800s
because it tries to kill a nonexistent "565.fsstress" process and then
waits for the fsx loop control process, which hasn't been sent any
signals.

Cc: <fstests@vger.kernel.org> # v2024.12.08
Fixes: 8973af00ec212f ("fstests: cleanup fsstress process management")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/fuzzy