megaraid_sas: Fastpath region lock bypass
Firmware will fill out per-LD data to tell driver whether a particular LD supports region lock bypass. If yes, then driver will send non-FP LDIO to region lock bypass FIFO. With this change in driver, firmware will optimize certain code to improve performance. Signed-off-by: Kashyap Desai <kashyap.desai@avagotech.com> Signed-off-by: Sumit Saxena <sumit.saxena@avagotech.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:

committed by
Martin K. Petersen

parent
2216c30523
commit
8f05024cd3
@@ -1020,6 +1020,8 @@ MR_BuildRaidContext(struct megasas_instance *instance,
|
||||
/* assume this IO needs the full row - we'll adjust if not true */
|
||||
regSize = stripSize;
|
||||
|
||||
io_info->do_fp_rlbypass = raid->capability.fpBypassRegionLock;
|
||||
|
||||
/* Check if we can send this I/O via FastPath */
|
||||
if (raid->capability.fpCapable) {
|
||||
if (isRead)
|
||||
|
Reference in New Issue
Block a user