mirror_zfs/tests/zfs-tests/tests/functional/xattr
Brian Behlendorf 5c214ae318 Fix volume WR_INDIRECT log replay
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 
Closes #6615
2017-09-08 15:07:00 -07:00
..
cleanup.ksh Enable xattr tests 2017-05-22 12:34:42 -04:00
Makefile.am Enable xattr tests 2017-05-22 12:34:42 -04:00
setup.ksh Enable xattr tests 2017-05-22 12:34:42 -04:00
xattr_001_pos.ksh Enable xattr tests 2017-05-22 12:34:42 -04:00
xattr_002_neg.ksh Enable xattr tests 2017-05-22 12:34:42 -04:00
xattr_003_neg.ksh Enable xattr tests 2017-05-22 12:34:42 -04:00
xattr_004_pos.ksh Fix volume WR_INDIRECT log replay 2017-09-08 15:07:00 -07:00
xattr_005_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
xattr_006_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
xattr_007_neg.ksh Enable xattr tests 2017-05-22 12:34:42 -04:00
xattr_008_pos.ksh Enable xattr tests 2017-05-22 12:34:42 -04:00
xattr_009_neg.ksh OpenZFS 8071 - zfs-tests: 7290 missed some cases 2017-05-25 17:22:55 -07:00
xattr_010_neg.ksh Enable xattr tests 2017-05-22 12:34:42 -04:00
xattr_011_pos.ksh Enable xattr tests 2017-05-22 12:34:42 -04:00
xattr_012_pos.ksh Enable xattr tests 2017-05-22 12:34:42 -04:00
xattr_013_pos.ksh Enable xattr tests 2017-05-22 12:34:42 -04:00
xattr_common.kshlib Enable xattr tests 2017-05-22 12:34:42 -04:00
xattr.cfg Enable xattr tests 2017-05-22 12:34:42 -04:00