mirror_zfs/tests/zfs-tests
Ryan Moeller 325a551232
ZTS: Fix faulty slog_replay_fs_001 test
This test is supposed to verify zil operations. For TX_WRITE, writes
must be synchronous in order to be entered in the zil. Linux seems to
be doing sync writes even when they are not asked for, but on FreeBSD
the test does not do what is intended.

Use dd oflag=sync for the parts of this test that are supposed to
result in TX_WRITE zil entries.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10022
2020-02-20 08:11:51 -08:00
..
callbacks ZTS: change $(cat) to $(<) for speedup 2018-10-31 12:00:06 -05:00
cmd ZTS: Use ECKSUM instead of EBADE in libzfs test 2020-02-13 12:03:01 -08:00
include ZTS: Move free to Linux commands list 2020-02-18 11:23:41 -08:00
tests ZTS: Fix faulty slog_replay_fs_001 test 2020-02-20 08:11:51 -08:00
Makefile.am OpenZFS 7503 - zfs-test should tail ::zfs_dbgmsg on test failure 2017-04-12 13:36:48 -07:00