git: virtio - Fix LUN scan issue w/ Google Cloud
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Nov 8 08:39:10 PST 2019
commit 0a6af935c20b62be66944917820200c3c0aedffe
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Nov 8 08:31:51 2019 -0800
virtio - Fix LUN scan issue w/ Google Cloud
* Use CAM_DEV_NOT_THERE instead of CAM_SEL_TIMEOUT when
translating VIRTIO_SCSI_S_BAD_TARGET.
* Fixes a LUN scan issue on google cloud VMs that
causes the entire device to be dropped.
CAM_SEL_TIMEOUT on specific LUN -> cam_periph_error() ->
AC_LOST_DEVICE on wildcard (whole device).
Summary of changes:
sys/dev/virtual/virtio/scsi/virtio_scsi.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0a6af935c20b62be66944917820200c3c0aedffe
--
DragonFly BSD source repository
More information about the Commits
mailing list