+125
−109
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>