mirror_zfs/tests/zfs-tests
Umer Saleem dbda45160f
Test LWB buffer overflow for block cloning
PR#15634 removes 128K into 2x68K LWB split optimization, since it
was found to cause LWB buffer overflow while trying to write 128KB
TX_CLONE_RANGE record with 1022 block pointers into 68KB buffer,
with multiple VDEVs ZIL.

This commit adds a test for this particular scenario by writing
maximum sizes TX_CLONE_RANE record with 1022 block pointers into
68KB buffer, with two SLOG devices.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by:  Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Ameer Hamza <ahamza@ixsystems.com>
Signed-off-by: Umer Saleem <usaleem@ixsystems.com>
Closes #15672
2023-12-15 14:18:27 -08:00
..
callbacks Split functional testings via github action matrix 2023-03-15 10:41:05 -07:00
cmd FreeBSD: Reduce divergence from in-tree sources 2023-10-09 13:27:18 -07:00
include ZTS: get_persistent_disk_name can return truncated names 2023-11-29 09:34:29 -08:00
tests Test LWB buffer overflow for block cloning 2023-12-15 14:18:27 -08:00
.gitignore autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
Makefile.am ZTS: Add dirty dnode stress test 2023-12-11 09:59:59 -08:00