svn commit: r307515 - head/sys/cam/scsi

Alexander Motin mav at FreeBSD.org
Mon Oct 17 09:16:45 UTC 2016


Author: mav
Date: Mon Oct 17 09:16:44 2016
New Revision: 307515
URL: https://svnweb.freebsd.org/changeset/base/307515

Log:
  Revert timeout part of r307507.
  
  I misread 5 minutes as 5 seconds.  Timeout of 5 minutes may have sense.
  
  MFC after:	2 weeks

Modified:
  head/sys/cam/scsi/scsi_da.c

Modified: head/sys/cam/scsi/scsi_da.c
==============================================================================
--- head/sys/cam/scsi/scsi_da.c	Mon Oct 17 08:53:12 2016	(r307514)
+++ head/sys/cam/scsi/scsi_da.c	Mon Oct 17 09:16:44 2016	(r307515)
@@ -1488,7 +1488,7 @@ daclose(struct disk *dp)
 			scsi_synchronize_cache(&ccb->csio, /*retries*/1,
 			    /*cbfcnp*/dadone, MSG_SIMPLE_Q_TAG,
 			    /*begin_lba*/0, /*lb_count*/0, SSD_FULL_SIZE,
-			    da_default_timeout * 1000);
+			    5 * 60 * 1000);
 			error = cam_periph_runccb(ccb, daerror, /*cam_flags*/0,
 			    /*sense_flags*/SF_RETRY_UA | SF_QUIET_IR,
 			    softc->disk->d_devstat);


More information about the svn-src-all mailing list