diff options
author | Anup Patel <anup.patel@broadcom.com> | 2017-08-22 11:56:57 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-08-28 13:14:24 +0200 |
commit | 5346aafcefb5300921e3bc2d48e48f2103943d58 (patch) | |
tree | 18871e0008eed26dc0b5961babcd770fdcb72cd4 /drivers/cpuidle | |
parent | dmaengine: bcm-sba-raid: Allow arbitrary number free sba_request (diff) | |
download | linux-5346aafcefb5300921e3bc2d48e48f2103943d58.tar.xz linux-5346aafcefb5300921e3bc2d48e48f2103943d58.zip |
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 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions