freebsd-dev/sys/cddl/contrib/opensolaris/uts
Andriy Gapon 37ec52ca7a fix a regression in r320452, ZFS ABD import
I overlooked the fact that vdev_op_io_done hook is called even if the
actual I/O is skipped, for example, in the case of a missing vdev.
Arguably, this could be considered an issue in the zio pipeline engine,
but for now I am adding defensive code to check for io_bp being NULL
along with assertions that that happens only when it can be really
expected.

PR:		220691
Reported by:	peter, cy
Tested by:	cy
MFC after:	1 week
X-MFC with:	r320156, r320452
2017-07-18 07:41:38 +00:00
..
aarch64
arm
common fix a regression in r320452, ZFS ABD import 2017-07-18 07:41:38 +00:00
intel
mips
powerpc
riscv