diff options
author | Brian Behlendorf <[email protected]> | 2017-09-08 15:07:00 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2017-09-08 15:07:00 -0700 |
commit | 5c214ae318cbca37285ec38e6a2044a7002d31e9 (patch) | |
tree | 199f8691dbb618a53d2761c568075660d4d7e3e5 /scripts/zfs-tests.sh | |
parent | e0dd0a32a8c8db725be673153b09bee0ca9adcf2 (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 'scripts/zfs-tests.sh')
-rwxr-xr-x | scripts/zfs-tests.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/zfs-tests.sh b/scripts/zfs-tests.sh index 94dd9a5b2..3345fb5a5 100755 --- a/scripts/zfs-tests.sh +++ b/scripts/zfs-tests.sh @@ -238,8 +238,8 @@ constrain_path() { # Exceptions ln -fs "$STF_PATH/awk" "$STF_PATH/nawk" - ln -fs /sbin/fsck.ext2 "$STF_PATH/fsck" - ln -fs /sbin/mkfs.ext2 "$STF_PATH/newfs" + ln -fs /sbin/fsck.ext4 "$STF_PATH/fsck" + ln -fs /sbin/mkfs.ext4 "$STF_PATH/newfs" ln -fs "$STF_PATH/gzip" "$STF_PATH/compress" ln -fs "$STF_PATH/gunzip" "$STF_PATH/uncompress" ln -fs "$STF_PATH/exportfs" "$STF_PATH/share" |