Files
mirror_zfs/cmd
Brian Behlendorf d56f3cb331 zhack: add "action idle" subcommand
In order to reliably test the multihost protection we need two (or more)
systems attempting to import the pool at the same time.  Historically, we've
used ztest running in userspace to simulate an active pool and attempted to
import the pool with the kernel modules.  This works but ztest is a bit
unwieldy for this and if it crashes for unrelated reasons it can result
in false positives.

All we really need is the pool imported in userspace so the MMP thread is
active and writing out uberblocks.  We can extend zhack which already knows
how to import the pool read/write and add an option to leave the pool open
and idle.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed-by: Akash B <akash-b@hpe.com>
2026-02-11 13:33:19 -08:00
..
2025-04-16 09:59:44 -07:00
2025-04-16 09:59:44 -07:00
2025-04-16 09:59:44 -07:00
2025-04-16 09:59:44 -07:00
2025-04-16 09:59:44 -07:00
2025-04-16 09:59:44 -07:00
2026-02-11 13:33:19 -08:00
2025-04-16 09:59:44 -07:00