Add back in a prefatory TUR when the tape is *not* mounted. This seems
to help with some older tape drives.
This commit is contained in:
parent
0757c96050
commit
6af65c6902
@ -1768,6 +1768,11 @@ samount(struct cam_periph *periph, int oflags, dev_t dev)
|
||||
return (error);
|
||||
}
|
||||
ccb = cam_periph_getccb(periph, 1);
|
||||
scsi_test_unit_ready(&ccb->csio, 0, sadone,
|
||||
MSG_SIMPLE_Q_TAG, SSD_FULL_SIZE, 5 * 60 * 1000);
|
||||
error = cam_periph_runccb(ccb, saerror, 0, SF_NO_PRINT,
|
||||
&softc->device_stats);
|
||||
QFRLS(ccb);
|
||||
}
|
||||
|
||||
if ((softc->flags & SA_FLAG_TAPE_MOUNTED) == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user