[SCSI] megaraid_sas: replace pci_alloc_consitent with dma_alloc_coherent in ioctl...
authorSumant Patro <sumantp@lsil.com>
Wed, 14 Feb 2007 20:55:45 +0000 (12:55 -0800)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Fri, 16 Feb 2007 16:20:33 +0000 (10:20 -0600)
commit9f35fa8a14e6216a859e2dfbe50ade497f9603ef
tree96290f23f7f7ae7b51d3b5ccb9ed5bce89df471e
parentcf62a0a543fbab15286509d2e04e3dcf5549e966
[SCSI] megaraid_sas: replace pci_alloc_consitent with dma_alloc_coherent in ioctl path

Replaced pci_alloc_consistent with dma_alloc_coherent from the ioctl path.
This is to avoid situations where ioctl fails for lack of memory
(when system under heavy stress).

Signed-off-by: Sumant Patro <sumant.patro@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/megaraid/megaraid_sas.c