summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authorlars <lars@FreeBSD.org>2001-07-02 16:39:17 +0000
committerlars <lars@FreeBSD.org>2001-07-02 16:39:17 +0000
commitff04207515a45d7f2727b0af9cd1c2ccaf638167 (patch)
tree23b52acf64a105e632af5b9d28f70edcdfef5754 /sys/cam
parentcda8bcd47442b0b0b1e2fab907629c17fc5f184c (diff)
downloadFreeBSD-src-ff04207515a45d7f2727b0af9cd1c2ccaf638167.zip
FreeBSD-src-ff04207515a45d7f2727b0af9cd1c2ccaf638167.tar.gz
Reviewed by: Matthew Jacob
Changed the timeout to wait for writing of filemarks to complete from 1 minute to 3 minutes. This should probably be enhanced to be a sysctl variable.
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/scsi/scsi_sa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_sa.c b/sys/cam/scsi/scsi_sa.c
index afed8c1..0b7c2e0 100644
--- a/sys/cam/scsi/scsi_sa.c
+++ b/sys/cam/scsi/scsi_sa.c
@@ -3105,7 +3105,7 @@ sawritefilemarks(struct cam_periph *periph, int nmarks, int setmarks)
softc->dsreg = MTIO_DSREG_FMK;
/* this *must* not be retried */
scsi_write_filemarks(&ccb->csio, 0, sadone, MSG_SIMPLE_Q_TAG,
- FALSE, setmarks, nmarks, SSD_FULL_SIZE, 60000);
+ FALSE, setmarks, nmarks, SSD_FULL_SIZE, 180000);
softc->dsreg = MTIO_DSREG_REST;
OpenPOWER on IntegriCloud