Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2013 09:11:31 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r255549 - stable/9/sys/cam/scsi
Message-ID:  <201309140911.r8E9BV8Y097544@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Sat Sep 14 09:11:31 2013
New Revision: 255549
URL: http://svnweb.freebsd.org/changeset/base/255549

Log:
  MFC r254052:
  Improve r253721 by reporting detected lack of BIO_FLUSH support to GEOM.
  That prevents more of such requests from coming and errors from logging.

Modified:
  stable/9/sys/cam/scsi/scsi_da.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/cam/scsi/scsi_da.c
==============================================================================
--- stable/9/sys/cam/scsi/scsi_da.c	Sat Sep 14 09:10:01 2013	(r255548)
+++ stable/9/sys/cam/scsi/scsi_da.c	Sat Sep 14 09:11:31 2013	(r255549)
@@ -2831,6 +2831,7 @@ cmd6workaround(union ccb *ccb)
 			xpt_print(ccb->ccb_h.path,
 			    "SYNCHRONIZE CACHE(10) not supported.\n");
 		softc->quirks |= DA_Q_NO_SYNC_CACHE;
+		softc->disk->d_flags &= ~DISKFLAG_CANFLUSHCACHE;
 		return (0);
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309140911.r8E9BV8Y097544>