diff options
author | Brian Behlendorf <[email protected]> | 2017-09-13 16:04:16 -0700 |
---|---|---|
committer | Tony Hutter <[email protected]> | 2017-09-13 16:04:16 -0700 |
commit | a2a04409185efc3e90aa9b8f16ace49190f01f4b (patch) | |
tree | 6ebc6a2d9152bb8b5392037f5b52ca57631b0709 /tests/runfiles | |
parent | 45d1abc74d6bd4b09c573dd8db0d2571eb82220d (diff) |
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 <[email protected]>
Reviewed-by: loli10K <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #6603
Diffstat (limited to 'tests/runfiles')
-rw-r--r-- | tests/runfiles/linux.run | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runfiles/linux.run b/tests/runfiles/linux.run index 472f85dd4..a12fc2d43 100644 --- a/tests/runfiles/linux.run +++ b/tests/runfiles/linux.run @@ -511,7 +511,7 @@ tests = ['scrub_mirror_001_pos', 'scrub_mirror_002_pos', tests = ['slog_001_pos', 'slog_002_pos', 'slog_003_pos', 'slog_004_pos', 'slog_005_pos', 'slog_006_pos', 'slog_007_pos', 'slog_008_neg', 'slog_009_neg', 'slog_010_neg', 'slog_011_neg', 'slog_012_neg', - 'slog_013_pos', 'slog_014_pos', 'slog_015_pos'] + 'slog_013_pos', 'slog_014_pos', 'slog_replay_fs', 'slog_replay_volume'] [tests/functional/snapshot] tests = ['clone_001_pos', 'rollback_001_pos', 'rollback_002_pos', |