changeset 3169:1dea14abfe17

6424510 usb ignores DKIOCFLUSHWRITECACHE
author phitran
date Sat, 25 Nov 2006 11:05:17 -0800
parents 18866604610a
children ff80d4b3644b
files usr/src/uts/common/io/scsi/targets/sd.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/io/scsi/targets/sd.c	Fri Nov 24 10:18:28 2006 -0800
+++ b/usr/src/uts/common/io/scsi/targets/sd.c	Sat Nov 25 11:05:17 2006 -0800
@@ -31421,6 +31421,11 @@
 	un->un_f_default_vtoc_supported = TRUE;
 #endif
 
+	/*
+	 * Enable SYNC CACHE support for all devices.
+	 */
+	un->un_f_sync_cache_supported = TRUE;
+
 	if (un->un_sd->sd_inq->inq_rmb) {
 		/*
 		 * The media of this device is removable. And for this kind
@@ -31620,11 +31625,6 @@
 #endif
 
 		/*
-		 * Fixed disk support SYNC CACHE
-		 */
-		un->un_f_sync_cache_supported = TRUE;
-
-		/*
 		 * For fixed disk, if its VTOC is not valid, we will write
 		 * errlog into system log
 		 */