]> 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>
Sat, 4 Jan 2025 20:57:35 +0000 (12:57 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 23 Jan 2025 21:19:32 +0000 (13:19 -0800)
commit8ebcbe4738da1fa10d1667e5efffdfa3878045b5
treeb5a9a56a33db9ff1eb96cf94853cb5080f15d9cb
parent66a514768e6bfda57151cc1714cdd2e99d7be957
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>
common/fuzzy