+8
−5
Loading
After the write data has been appended to cache buffer, the allocation of flush request can return error, so we move this allocation before appending to the cache buffer. Change-Id: Ia8baae8f3d88596561633bd8a5c4f83e554c72d7 Signed-off-by:Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/450981 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>