ips - Mark queue_lock as LK_CANRECURSE
authorYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Sun, 18 Apr 2010 02:59:11 +0000 (11:59 +0900)
committerYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Sun, 18 Apr 2010 02:59:11 +0000 (11:59 +0900)
commit845f5eade228bf80757b9727b34de489741b6391
treeaad18d52d5f4d3781289a7db096cfbadad99ecce
parent17c2e1d4f975071c5d3cad102cd19ad2b03d30ef
ips - Mark queue_lock as LK_CANRECURSE

Originally queue_lock was an LWKT reader-writer locks, which permitted
multiple locks by the same thread, and in fact there are few code paths
where such multiple locking is used.  Doing the similar thing with lockmgr
lock without either LK_NOWAIT or LK_CANRECURSE triggers a panic.
sys/dev/raid/ips/ips_pci.c