]> CyberLeo.Net >> Repos - FreeBSD/releng/9.1.git/commit
MFC r239545:
authorjimharris <jimharris@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 27 Aug 2012 18:10:25 +0000 (18:10 +0000)
committerjimharris <jimharris@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 27 Aug 2012 18:10:25 +0000 (18:10 +0000)
commit64aa071e9d2c3154f1ca931960fc79a76185cc44
tree2d44058503530307bd500d7af13dd54522334931
parent6db1b32e894791b87937d831c528ed8ecc34ac05
MFC r239545:

  Fix/add isci(4) support for SCSI UNMAP to ATA DSM translation.

  This addresses kernel panic observed when sending SCSI UNMAP
  commands to SATA disks attached to isci(4).

  1) Flesh out callback routines to allocate/free buffers needed for
     translating SCSI UNMAP data to ATA DSM data.
  2) Add controller-level pool for storing buffers previously allocated
     for UNMAP translation, to lessen chance of no buffer available
     under memory pressure.
  3) Ensure driver properly handles case where buffer pool is empty
     and contigmalloc returns NULL.

Sponsored by: Intel
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239741 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/isci/isci.c
sys/dev/isci/isci.h
sys/dev/isci/isci_controller.c
sys/dev/isci/scil/sati_unmap.c
sys/dev/isci/scil/scif_sas_sati_binding.h
sys/dev/isci/scil/scif_sas_stp_io_request.c