diff options
author | mjacob <mjacob@FreeBSD.org> | 1998-12-23 16:48:17 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 1998-12-23 16:48:17 +0000 |
commit | f68c96988815f970d507fd86090bfd049b38903b (patch) | |
tree | 1484d98f3f76cea640a7572c69bb21fb57fe9aca | |
parent | a8c2d8d742295d502eb4f800e91abe5db1da83f5 (diff) | |
download | FreeBSD-src-f68c96988815f970d507fd86090bfd049b38903b.zip FreeBSD-src-f68c96988815f970d507fd86090bfd049b38903b.tar.gz |
you can retry SYNC CACHE on UA errors
-rw-r--r-- | sys/cam/scsi/scsi_da.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c index 7cd127a..fe8ce1a 100644 --- a/sys/cam/scsi/scsi_da.c +++ b/sys/cam/scsi/scsi_da.c @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: scsi_da.c,v 1.14 1998/12/04 22:54:43 archie Exp $ + * $Id: scsi_da.c,v 1.15 1998/12/11 03:54:43 gibbs Exp $ */ #include "opt_hw_wdog.h" @@ -438,7 +438,8 @@ daclose(dev_t dev, int flag, int fmt, struct proc *p) /* Ignore any errors */ cam_periph_runccb(ccb, /*error_routine*/NULL, /*cam_flags*/0, - /*sense_flags*/0, &softc->device_stats); + /*sense_flags*/SF_RETRY_UA, + &softc->device_stats); if ((ccb->ccb_h.status & CAM_DEV_QFRZN) != 0) cam_release_devq(ccb->ccb_h.path, |