diff options
author | Anup Patel <anup.patel@broadcom.com> | 2017-08-22 15:26:57 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-08-28 16:44:24 +0530 |
commit | 5346aafcefb5300921e3bc2d48e48f2103943d58 (patch) | |
tree | 18871e0008eed26dc0b5961babcd770fdcb72cd4 /lib/mpi/mpiutil.c | |
parent | 5655e00f5cde2c856c80eb10d0e6c911b7d880f2 (diff) |
dmaengine: bcm-sba-raid: Increase number of free sba_request
Currently, we have only 1024 free sba_request created
by sba_prealloc_channel_resources(). This is too low
and the prep_xxx() callbacks start failing more often
at time of RAID array setup over NVMe disks.
This patch sets number of free sba_request created by
sba_prealloc_channel_resources() to be:
<number_of_mailbox_channels> x 8192
Due to above, we will have sufficient number of free
sba_request and prep_xxx() callbacks failing is very
unlikely.
Signed-off-by: Anup Patel <anup.patel@broadcom.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions