]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make physical buffers in cam_periph_mapmem owned by the kernel in case we
authorMatt Jacob <mjacob@FreeBSD.org>
Wed, 24 May 2006 15:22:21 +0000 (15:22 +0000)
committerMatt Jacob <mjacob@FreeBSD.org>
Wed, 24 May 2006 15:22:21 +0000 (15:22 +0000)
commita62525f3c839f120b232dd53ba1d9e683f670531
tree9ae17f0dac09a3262d8b99c857afb3f4a2dba428
parent78cdd8ed1b2c0801411e5721258f648feb0e8bf9
Make physical buffers in cam_periph_mapmem owned by the kernel in case we
return to user space w/o waiting for I/O to complete.

I tried to get several folks who know this code better than me to review it
with no luck. I *do* know that w/o this code, using the SCSI target driver
panics in userret (if it doesn't panic in knote first).
sys/cam/cam_ccb.h
sys/cam/cam_periph.c
sys/cam/scsi/scsi_target.c