kernel - Run AHCI and SILI disk drivers MPSAFE
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 25 Aug 2010 18:40:58 +0000 (11:40 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 25 Aug 2010 18:40:58 +0000 (11:40 -0700)
commitfb00c6ed33ab8442f2495d6492e8d85a1e086775
tree1ee228ea98d91aede1760e1a984d554f8d92281e
parent9f889dc4a590f18343b80275521c3f50d7030272
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.
12 files changed:
sys/dev/disk/ahci/ahci.c
sys/dev/disk/ahci/ahci.h
sys/dev/disk/ahci/ahci_attach.c
sys/dev/disk/ahci/ahci_cam.c
sys/dev/disk/ahci/ahci_dragonfly.c
sys/dev/disk/ahci/ahci_pm.c
sys/dev/disk/sili/sili.c
sys/dev/disk/sili/sili.h
sys/dev/disk/sili/sili_attach.c
sys/dev/disk/sili/sili_cam.c
sys/dev/disk/sili/sili_dragonfly.c
sys/dev/disk/sili/sili_pm.c