]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
Merge r269353:
authorjoerg <joerg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 8 Aug 2014 14:42:03 +0000 (14:42 +0000)
committerjoerg <joerg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 8 Aug 2014 14:42:03 +0000 (14:42 +0000)
commit816d26986bb47c03c20830a841a805de14c40b27
tree316b241ecd327ed71bbf664f901400d38dcb5fc3
parent4237bb2c45a19ae79f3b16bcf0ac55eb34788878
Merge r269353:

Fix breakage introduced by r256843: removing the SA_CCB_WAITING bit
left some of the decisions based on its counterpart, SA_CCB_BUFFER_IO
being random.  As a result, propagation of the residual information
for the SPACE command was broken, so the number of filemarks
encountered during a SPACE operation was miscalculated.  Consequently,
systems relying on properly tracked filemark counters (like Bacula)
fell apart.

The change also removes a switch/case in sadone() which r256843
degraded to a single remaining case label.

PR: 192285

git-svn-id: svn://svn.freebsd.org/base/stable/10@269717 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cam/scsi/scsi_sa.c