]> git.proxmox.com Git - mirror_zfs.git/commit
ZTS: Add dirty dnode stress test
authorTony Hutter <hutter2@llnl.gov>
Mon, 11 Dec 2023 17:59:59 +0000 (09:59 -0800)
committerGitHub <noreply@github.com>
Mon, 11 Dec 2023 17:59:59 +0000 (09:59 -0800)
commitb1748eaee0dd9331c3ab1c7e9d548203a4d70176
treee6503a1848f123302878b50e7584562ff9ce24dd
parent9f6ad4dcb6aea0b798cec6be034c70548aef12e9
ZTS: Add dirty dnode stress test

Add a test for the dirty dnode SEEK_HOLE/SEEK_DATA bug described in
https://github.com/openzfs/zfs/issues/15526

The bug was fixed in https://github.com/openzfs/zfs/pull/15571 and
was backported to 2.2.2 and 2.1.14.  This test case is just to
make sure it does not come back.

seekflood.c originally written by Rob Norris.

Reviewed-by: Graham Perrin <grahamperrin@freebsd.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Rob Norris <robn@despairlabs.com>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #15608
tests/runfiles/common.run
tests/zfs-tests/Makefile.am
tests/zfs-tests/tests/Makefile.am
tests/zfs-tests/tests/functional/cp_files/.gitignore [new file with mode: 0644]
tests/zfs-tests/tests/functional/cp_files/cp_stress.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cp_files/seekflood.c [new file with mode: 0644]