freebsd-nq/sys/cddl
Andriy Gapon 876fa2c17b fix a bug in ZFS mirror code for handling multiple DVAa
The bug was introduced in r256956 "Improve ZFS N-way mirror read
performance".
The code in vdev_mirror_dva_select erroneously considers already
tried DVAs for the next attempt.  Thus, it is possible that a failing DVA
would be retried forever.
As a secondary effect, if the attempts fail with checksum error, then
checksum error reports are accumulated until the original request
ultimately fails or succeeds.  But because retrying is going on indefinitely
the cheksum reports accumulation will effectively be a memory leak.

Reviewed by:	gibbs
MFC after:	13 days
Sponsored by:	HybridCluster
2014-01-16 13:24:10 +00:00
..
boot/zfs MFV r259170: 2014-01-01 00:45:28 +00:00
compat/opensolaris Fix build after r260234 by converting ddi_get_lbolt64() from inline into 2014-01-05 19:07:42 +00:00
contrib/opensolaris fix a bug in ZFS mirror code for handling multiple DVAa 2014-01-16 13:24:10 +00:00
dev Allocate the probe ID unrhdr before the DTrace kld_* event handlers are 2013-12-31 15:41:16 +00:00