diff options
author | Anup Patel <anup.patel@broadcom.com> | 2017-08-22 11:56:58 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-08-28 13:14:24 +0200 |
commit | f83385142c3a0864e4ac82d852dd0fdb54742ce3 (patch) | |
tree | 9592128af083cb12b7046b650c4f5cac66738a50 /drivers/net | |
parent | dmaengine: bcm-sba-raid: Increase number of free sba_request (diff) | |
download | linux-f83385142c3a0864e4ac82d852dd0fdb54742ce3.tar.xz linux-f83385142c3a0864e4ac82d852dd0fdb54742ce3.zip |
dmaengine: bcm-sba-raid: Improve sba_issue_pending() run duration
The pending sba_request list can become very long in real-life usage
(e.g. setting up RAID array) which can cause sba_issue_pending() to
run for long duration.
This patch adds common sba_process_deferred_requests() to process
few completed and pending requests so that it finishes in short
duration. We use this common sba_process_deferred_requests() in
both sba_issue_pending() and sba_receive_message().
Signed-off-by: Anup Patel <anup.patel@broadcom.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions