Author: mav
Date: Mon Oct  5 11:41:52 2015
New Revision: 288815
URL: https://svnweb.freebsd.org/changeset/base/288815

Log:
  MFC r288368: Don't report SYNC_NV bit set in SYNCHRONIZE CACHE as error.
  
  While this bit is obsolete in SBC-3, behavior controlled by it is allowed
  on device discretion.

Modified:
  stable/10/sys/cam/ctl/ctl_cmd_table.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/cam/ctl/ctl_cmd_table.c
==============================================================================
--- stable/10/sys/cam/ctl/ctl_cmd_table.c       Mon Oct  5 11:41:05 2015        
(r288814)
+++ stable/10/sys/cam/ctl/ctl_cmd_table.c       Mon Oct  5 11:41:52 2015        
(r288815)
@@ -760,7 +760,7 @@ const struct ctl_cmd_entry ctl_cmd_table
 {ctl_sync_cache, CTL_SERIDX_SYNC, CTL_CMD_FLAG_OK_ON_DIRECT |
                                  CTL_FLAG_DATA_NONE,
  CTL_LUN_PAT_WRITE,
- 10, {0x02, 0xff, 0xff, 0xff, 0xff, 0, 0xff, 0xff, 0x07}},
+ 10, {0x06, 0xff, 0xff, 0xff, 0xff, 0, 0xff, 0xff, 0x07}},
 
 /* 36 LOCK UNLOCK CACHE(10) */
 {NULL, CTL_SERIDX_INVLD, CTL_CMD_FLAG_NONE, CTL_LUN_PAT_NONE},
@@ -1119,7 +1119,7 @@ const struct ctl_cmd_entry ctl_cmd_table
 {ctl_sync_cache, CTL_SERIDX_SYNC, CTL_CMD_FLAG_OK_ON_DIRECT |
                                  CTL_FLAG_DATA_NONE,
  CTL_LUN_PAT_WRITE,
- 16, {0x02, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 16, {0x06, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
       0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0, 0x07}},
 
 /* 92 LOCK UNLOCK CACHE(16) */
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to