]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - sys/dev/utopia/idtphy.c
MFV 316871
authorJosh Paetzel <jpaetzel@FreeBSD.org>
Fri, 21 Apr 2017 00:24:59 +0000 (00:24 +0000)
committerJosh Paetzel <jpaetzel@FreeBSD.org>
Fri, 21 Apr 2017 00:24:59 +0000 (00:24 +0000)
commit36064ac2d5055cd427be6c35bda60af3787c99d7
treee8a9cc926ccea0d04dd0871c9e89a01c58d2e217
parent9a625bd31c5146d07f50826840b5be855a0984fe
parent8f77e16c27ebea38f9806fbd23a7fcbe13059b2a
MFV 316871

7490 real checksum errors are silenced when zinject is on

illumos/illumos-gate@6cedfc397d92d64e442f0aae4445ac507beaf58f
https://github.com/illumos/illumos-gate/commit/6cedfc397d92d64e442f0aae4445ac507beaf58f

https://www.illumos.org/issues/7490
  When zinject is on, error codes from zfs_checksum_error() can be overwritten
  due to an incorrect and overly-complex if condition.

Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Pavel Zakharov <pavel.zakharov@delphix.com>
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio_checksum.c