linux/drivers/scsi/megaraid
Sumit.Saxena@avagotech.com a5fd2858e2 megaraid_sas : Round down max sge supported by controller to power of two
Resending the patch. Addressed the review comments from Tomas Henzl.

Round down the max sge to power of two.

Earlier max sge limit is 70 SGE, which will allow block layer to send 280K IO frame.
It is optimal to provide max IO size aligned to the smallest possible stripe size.
E.a
Consider that we have configured RAID Volumes which does not allow Fast Path across the stripe.
Raid volume with stripe size = 256K, will have peformance hit if we get io frame of size 280K.
Driver will not send IO frame large than stripe size to the Fast Path.
Also, FW will convert 280K frame into 256K + 24K. This is an additional overhead.

Signed-off-by: Sumit Saxena <sumit.saxena@avagotech.com>
Signed-off-by: Kashyap Desai <kashyap.desai@avagotech.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2014-09-16 09:14:25 -07:00
..
Kconfig.megaraid
Makefile [SCSI] megaraid_sas: Add 9565/9285 specific code 2010-12-22 23:26:53 -06:00
mbox_defs.h Fix common misspellings 2011-03-31 11:26:23 -03:00
mega_common.h scsi: use 64-bit LUNs 2014-07-17 22:07:37 +02:00
megaraid_ioctl.h
megaraid_mbox.c scsi: use pci_zalloc_consistent 2014-08-08 15:57:29 -07:00
megaraid_mbox.h
megaraid_mm.c [SCSI] megaraid: missing bounds check in mimd_to_kioc() 2014-03-15 10:19:00 -07:00
megaraid_mm.h
megaraid_sas_base.c megaraid_sas : Host lock less mode to enabled asynchronous IO submission 2014-09-16 09:14:25 -07:00
megaraid_sas_fp.c megaraid_sas : Extended VD support 2014-09-16 09:14:24 -07:00
megaraid_sas_fusion.c megaraid_sas : Round down max sge supported by controller to power of two 2014-09-16 09:14:25 -07:00
megaraid_sas_fusion.h megaraid_sas : Extended VD support 2014-09-16 09:14:24 -07:00
megaraid_sas.h megaraid_sas : Extended VD support 2014-09-16 09:14:24 -07:00