DragonFly BSD
DragonFly commits List (threaded) for 2012-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Fix AHCI callout timer race


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 20 Jan 2012 10:22:08 -0800 (PST)

commit bb79834d4440c42ded824722460ae008a58ecf26
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Fri Jan 20 10:20:20 2012 -0800

    kernel - Fix AHCI callout timer race
    
    * callout_stop_sync() can block.  If this occurs a race can cause a
      CCB to be processed for completion twice.
    
    * Add a serial number to detect this situation.
    
    Reported-by: "G. Isenmann via Redmine"

Summary of changes:
 sys/dev/disk/ahci/ahci.c    |   31 ++++++++++++++++++++++++++++---
 sys/dev/disk/ahci/atascsi.h |    1 +
 2 files changed, 29 insertions(+), 3 deletions(-)

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


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]