git: kernel - Run AHCI and SILI disk drivers MPSAFE

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Aug 25 11:46:03 PDT 2010


commit fb00c6ed33ab8442f2495d6492e8d85a1e086775
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list