Date: Wed, 7 Aug 2013 08:20:12 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r254052 - head/sys/cam/scsi Message-ID: <201308070820.r778KCMc001405@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Wed Aug 7 08:20:11 2013 New Revision: 254052 URL: http://svnweb.freebsd.org/changeset/base/254052 Log: 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: head/sys/cam/scsi/scsi_da.c Modified: head/sys/cam/scsi/scsi_da.c ============================================================================== --- head/sys/cam/scsi/scsi_da.c Wed Aug 7 08:03:50 2013 (r254051) +++ head/sys/cam/scsi/scsi_da.c Wed Aug 7 08:20:11 2013 (r254052) @@ -2820,6 +2820,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?201308070820.r778KCMc001405>