git: kernel - Fix AHCI callout timer race
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Jan 20 10:22:08 PST 2012
commit bb79834d4440c42ded824722460ae008a58ecf26
Author: Matthew Dillon <dillon at 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
More information about the Commits
mailing list