]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r286345: Relax serialization of SYNCHRONIZE CACHE commands.
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 19 Aug 2015 17:43:36 +0000 (17:43 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 19 Aug 2015 17:43:36 +0000 (17:43 +0000)
commitc355268b270171dc132c46aa303382a29d7e768d
treea95b67978971523994cbbd91e25e716e47ed9a60
parentb541c591c7fd1c6e62ccfe22d8a413b1b183e2f8
MFC r286345: Relax serialization of SYNCHRONIZE CACHE commands.

Before this change SYNCHRONIZE CACHE commands were executed exclusively,
as if they had ORDERED tag.  But looking through SCSI specs I've found
no any reason to be so strict.  For reads this ordering seems pointless.
For writes it looks less obvious, so I left ordering against preceeding
write commands, while following ones are no longer required to wait.

git-svn-id: svn://svn.freebsd.org/base/stable/10@286930 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cam/ctl/ctl_cmd_table.c
sys/cam/ctl/ctl_private.h
sys/cam/ctl/ctl_ser_table.c