AHCI - Fix panic if additional I/O is queued during SATA error processing.
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 11 Jun 2013 00:15:21 +0000 (17:15 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 11 Jun 2013 00:15:21 +0000 (17:15 -0700)
commitc1fd1d86dc5671c5b29e86a58938fe42e1f9212c
tree674ab3010de15aa8c6a9cb28774a9d95ab2be90e
parent0b405e3a3915510e95d5462f8be846bf275fef32
AHCI - Fix panic if additional I/O is queued during SATA error processing.

* If additional I/O is queued during SATA error processing the AHCI
  driver was improperly trying to initiate the new I/O.  This caused
  the error processing code to assert on unexpected command activity.

* Fix by implying exclusive access mode when the error CCB is in use and
  giving the error CCB queueing priority over all other CCBs.
sys/dev/disk/ahci/ahci.c