freebsd-dev/sys/dev/mpt
John Baldwin 4124f62e4f Rework how the mpt_user personality handles buffers for config pages.
Previously we reused the space in the request buffer after the request
header to hold config pages during a transaction.  This does not work when
reading large pages however.  Also, we were already malloc'ing a buffer to
do a copyin/copyout w/o holding locks that was then copied into/out of the
request buffer.  Instead, go ahead and use bus dma to alloc a buffer for
each config page request (and RAID actions that have an associated
ActionSGE).  This results in fewer data copies and allows for larger sized
requests.  For now the maximum size of a request is arbitrarily limited to
16 MB.

MFC after:	2 weeks
2008-07-01 19:48:15 +00:00
..
mpilib
mpt_cam.c
mpt_cam.h
mpt_debug.c
mpt_pci.c During shutdown, deregister the shutdown hook from the correct event 2008-07-01 19:44:38 +00:00
mpt_raid.c
mpt_raid.h
mpt_reg.h
mpt_user.c Rework how the mpt_user personality handles buffers for config pages. 2008-07-01 19:48:15 +00:00
mpt.c
mpt.h