aboutsummaryrefslogtreecommitdiffstats
path: root/tests/runfiles
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2017-09-08 15:07:00 -0700
committerGitHub <[email protected]>2017-09-08 15:07:00 -0700
commit5c214ae318cbca37285ec38e6a2044a7002d31e9 (patch)
tree199f8691dbb618a53d2761c568075660d4d7e3e5 /tests/runfiles
parente0dd0a32a8c8db725be673153b09bee0ca9adcf2 (diff)
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 <[email protected]> Reviewed-by: loli10K <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #6603 Closes #6615
Diffstat (limited to 'tests/runfiles')
-rw-r--r--tests/runfiles/linux.run2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runfiles/linux.run b/tests/runfiles/linux.run
index 58af01e7d..bee3a6b55 100644
--- a/tests/runfiles/linux.run
+++ b/tests/runfiles/linux.run
@@ -530,7 +530,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',