+14
−20
Loading
Next patch will be adding iobuf support, which will require freeing buffers on the queue's thread, not the app thread. So combine these two functions into one (ublk_free_dev) and have it do all of the queue work first before anything else. The reasons will be more obvious in the next patch. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: I749c500e3ea0e20fc71cb0286740584a083ede4f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17878 Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Xiaodong Liu <xiaodong.liu@intel.com>