+25
−20
Loading
The actual memory domain push already only happened for successfully completed requests, but the code would go still go through _bdev_io_push_bounce_data_buffer(), which could cause issues for IOs completed with NOMEM, because the bounce buffer would be released in _bdev_io_complete_push_bounce_done(). Signed-off-by:Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: Id1af1e31cb416e91bf11101a5ce7919530245e1e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17866 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>