zfs/tests/zfs-tests/tests/functional/cli_root/zpool_create
Brian Behlendorf a2a0440918 Fix volume WR_INDIRECT log replay (#6620)
The portion of the zvol_replay_write() handler responsible for
replaying indirect log records for some reason never existed.
As a result indirect log records were not being correctly replayed.

This went largely unnoticed since the majority of zvol log records
were of the type WR_COPIED or WR_NEED_COPY prior to OpenZFS 7578.

This patch updates zvol_replay_write() to correctly handle these
log records and adds a new test case which verifies volume replay
to prevent any regression.  The existing test case which verified
replay on filesystem was renamed slog_replay_fs.ksh for clarity.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #6603
2017-09-13 16:04:16 -07:00
..
Makefile.am More ashift improvements 2017-05-03 09:31:05 -07:00
cleanup.ksh Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
create-o_ashift.ksh Implemented zpool sync command 2017-05-19 12:33:11 -07:00
setup.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zpool_create.cfg OpenZFS 7104 - increase indirect block size 2017-02-09 10:27:02 -08:00
zpool_create.shlib Fix volume WR_INDIRECT log replay (#6620) 2017-09-13 16:04:16 -07:00
zpool_create_001_pos.ksh OpenZFS 7104 - increase indirect block size 2017-02-09 10:27:02 -08:00
zpool_create_002_pos.ksh Enable additional test cases 2017-05-11 14:27:57 -07:00
zpool_create_003_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zpool_create_004_pos.ksh Enable additional test cases 2017-05-11 14:27:57 -07:00
zpool_create_005_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zpool_create_006_pos.ksh Allow add of raidz and mirror with same redundancy 2017-06-05 13:53:09 -07:00
zpool_create_007_neg.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zpool_create_008_pos.ksh Enable additional test cases 2017-05-11 14:27:57 -07:00
zpool_create_009_neg.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zpool_create_010_neg.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zpool_create_011_neg.ksh Add port of FreeBSD 'volmode' property 2017-07-12 13:05:37 -07:00
zpool_create_012_neg.ksh Enable additional test cases 2017-05-11 14:27:57 -07:00
zpool_create_014_neg.ksh Enable additional test cases 2017-05-11 14:27:57 -07:00
zpool_create_015_neg.ksh Enable additional test cases 2017-05-11 14:27:57 -07:00
zpool_create_016_pos.ksh Enable additional test cases 2017-05-11 14:27:57 -07:00
zpool_create_017_neg.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zpool_create_018_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zpool_create_019_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zpool_create_020_pos.ksh Enable additional test cases 2017-05-11 14:27:57 -07:00
zpool_create_021_pos.ksh Add zfs_nicebytes() to print human-readable sizes 2017-05-02 13:43:53 -07:00
zpool_create_022_pos.ksh Add zfs_nicebytes() to print human-readable sizes 2017-05-02 13:43:53 -07:00
zpool_create_023_neg.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zpool_create_024_pos.ksh Skip tests that are slow on 32-bit builders 2017-06-06 19:04:01 -07:00
zpool_create_features_001_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zpool_create_features_002_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zpool_create_features_003_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zpool_create_features_004_neg.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zpool_create_features_005_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00