diff options
author | 2017-08-22 15:27:06 +0530 | |
---|---|---|
committer | 2017-08-28 16:44:24 +0530 | |
commit | ecbf9ef15a891a1e716c1ea611cae9fa5ef37522 (patch) | |
tree | 9212bf8ccdab9b5b23c061027a750e53698bea4d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dmaengine: bcm-sba-raid: Explicitly ACK mailbox message after sending (diff) | |
download | wireguard-linux-ecbf9ef15a891a1e716c1ea611cae9fa5ef37522.tar.xz wireguard-linux-ecbf9ef15a891a1e716c1ea611cae9fa5ef37522.zip |
dmaengine: bcm-sba-raid: Remove redundant SBA_REQUEST_STATE_COMPLETED
The SBA_REQUEST_STATE_COMPLETED state was added to keep track
of sba_request which got completed but cannot be freed because
underlying Async Tx descriptor was not ACKed by DMA client.
Instead of above, we can free the sba_request with non-ACKed
Async Tx descriptor and sba_alloc_request() will ensure that
it always allocates sba_request with ACKed Async Tx descriptor.
This alternate approach makes SBA_REQUEST_STATE_COMPLETED state
redundant hence this patch removes it.
Signed-off-by: Anup Patel <anup.patel@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions