mirror_zfs/scripts
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
..
zfs-images@3331601f6d Add zimport.sh compatibility test script 2014-02-21 12:10:31 -08:00
zpios-profile Fix spelling 2017-01-03 11:31:18 -06:00
zpios-test Replace libexecdir with datadir 2013-03-06 15:46:40 -08:00
zpool-config zpool-create.sh: allow features to be disabled 2014-07-25 11:58:31 -07:00
.gitignore Remove autotools products 2012-08-27 11:47:44 -07:00
commitcheck.sh Prevent commitcheck.sh from running twice 2017-04-03 14:20:01 -07:00
common.sh.in Enable shellcheck to run for select scripts 2017-03-09 10:20:15 -08:00
cstyle.pl OpenZFS 7348 - cstyle can't handle ellipsis on continuation line 2017-01-26 12:40:22 -08:00
dkms.mkconf Add icp kernel module to dkms build 2016-10-06 10:31:42 -07:00
dkms.postbuild Install header during post-build rather than post-install. 2014-10-09 12:03:50 -07:00
kmodtool Set LANG to a reasonable default (C) 2014-06-10 16:46:21 -07:00
Makefile.am Retire zconfig.sh 2017-05-22 12:34:42 -04:00
paxcheck.sh Enable shellcheck to run for select scripts 2017-03-09 10:20:15 -08:00
smb.sh Implemented sharing datasets via SMB using libshare 2012-12-03 09:42:15 -08:00
zfs2zol-patch.sed OpenZFS 4185 - add new cryptographic checksums to ZFS: SHA-512, Skein, Edon-R 2016-10-03 14:51:15 -07:00
zfs-helpers.sh zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
zfs-tests.sh Fix volume WR_INDIRECT log replay (#6620) 2017-09-13 16:04:16 -07:00
zfs.sh Enable shellcheck to run for select scripts 2017-03-09 10:20:15 -08:00
zimport.sh Fix spelling 2017-01-03 11:31:18 -06:00
zloop.sh Enable shellcheck to run for select scripts 2017-03-09 10:20:15 -08:00
zol2zfs-patch.sed Add a script to change file names when upstreaming to OpenZFS/illumos 2016-09-29 21:01:50 -07:00
zpios-sanity.sh Disable 90-zfs.rules for test suite 2011-10-11 14:45:37 -07:00
zpios-survey.sh Retire zio_bulk_flags 2015-02-10 16:08:49 -08:00
zpios.sh build: resolve orthographic and other grammatical errors 2013-04-02 10:44:52 -07:00
zpool-create.sh zpool-create.sh: allow features to be disabled 2014-07-25 11:58:31 -07:00