freebsd-dev/sys/dev/iir
Scott Long 3469383f4f Big update to the iir driver:
- Don't use a common buffer in the softc to store per-command data.  Reserve
  a buffer in the command itself.
- Don't allocate DMA memory for the kernel command structures when all you
  really need is DMA memory for the scratch buffer embedded in them.  Instead
  allocate a slab for the scratch buffers and divide it up as needed.
- Call bus_dmamap_unload() at the completion of commands.
- Preserve and clear the CAM CCB status flags at completion.
- Reorder some low-level command operations to try to close races.
- Limit the simq to 32 commands for now.  There are some serious problems
  with the driver under load that are not well understood, so keeping the
  simq lower helps avoid this.  It has been tested at a higher value, but
  this is a safe value that doesn't show much performance degredation.

These changes allow the driver to work reliably with >4GB of memory on i386
and amd64, and also work around deadlocks seen under very high load in
certain situations.  The work-around is far from ideal, but without and
documentation it is hard to know what the right fix is.

MFC candidate
2006-03-01 07:24:39 +00:00
..
iir_ctrl.c Correct improper permissions on /dev/iir. The earlier permissions 2005-05-06 02:33:46 +00:00
iir_pci.c Big update to the iir driver: 2006-03-01 07:24:39 +00:00
iir.c Big update to the iir driver: 2006-03-01 07:24:39 +00:00
iir.h Big update to the iir driver: 2006-03-01 07:24:39 +00:00