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

git: kernel - Run AHCI and SILI disk drivers MPSAFE


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 25 Aug 2010 11:44:38 -0700 (PDT)

commit fb00c6ed33ab8442f2495d6492e8d85a1e086775
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Aug 25 11:40:58 2010 -0700

    kernel - Run AHCI and SILI disk drivers MPSAFE
    
    * These drivers now pass a port-disk-port lock in the cam sim registration,
      which should result in CAM callbacks being MPSAFE.
    
    * Add a separate signalling interlock for the port threads.
    
    * The devices were otherwise already MPSAFE, with per-port locking.

Summary of changes:
 sys/dev/disk/ahci/ahci.c           |    2 ++
 sys/dev/disk/ahci/ahci.h           |    2 ++
 sys/dev/disk/ahci/ahci_attach.c    |    5 ++++-
 sys/dev/disk/ahci/ahci_cam.c       |   10 +++++++---
 sys/dev/disk/ahci/ahci_dragonfly.c |   17 ++++++++++++++---
 sys/dev/disk/ahci/ahci_pm.c        |    2 ++
 sys/dev/disk/sili/sili.c           |    2 ++
 sys/dev/disk/sili/sili.h           |    2 ++
 sys/dev/disk/sili/sili_attach.c    |    5 ++++-
 sys/dev/disk/sili/sili_cam.c       |   10 +++++++---
 sys/dev/disk/sili/sili_dragonfly.c |   17 ++++++++++++++---
 sys/dev/disk/sili/sili_pm.c        |    2 ++
 12 files changed, 62 insertions(+), 14 deletions(-)

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


-- 
DragonFly BSD source repository



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