git: AHCI - Fix panic if additional I/O is queued during SATA error processing.

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jun 10 17:18:10 PDT 2013


commit c1fd1d86dc5671c5b29e86a58938fe42e1f9212c
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jun 10 17:15:21 2013 -0700

    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.

Summary of changes:
 sys/dev/disk/ahci/ahci.c | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c1fd1d86dc5671c5b29e86a58938fe42e1f9212c


-- 
DragonFly BSD source repository


More information about the Commits mailing list