Project

General

Profile

Bug #5348

zio_checksum_error() only fills in info if ECKSUM

Added by Matthew Ahrens almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2014-11-15
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

If zio_checksum_error() returns other than ECKSUM (e.g. EINVAL), it does not
fill in the "zio_bad_cksum_t *info" parameter. Caller should not attempt to
use it in this case.

History

#1

Updated by Electric Monk almost 5 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

git commit 373dc1cf9a4e0791397a9b268cdac1f664af58a8

commit  373dc1cf9a4e0791397a9b268cdac1f664af58a8
Author: Matthew Ahrens <mahrens@delphix.com>
Date:   2014-11-23T03:24:52.000Z

    5348 zio_checksum_error() only fills in info if ECKSUM
    Reviewed by: Alex Reece <alex.reece@delphix.com>
    Reviewed by: Christopher Siden <christopher.siden@delphix.com>
    Reviewed by: George Wilson <george.wilson@delphix.com>
    Reviewed by: Steven Hartland <killing@multiplay.co.uk>
    Approved by: Dan McDonald <danmcd@omniti.com>

Also available in: Atom PDF