+18
−6
Loading
bdev_nvme_reset() will be used by JSON RPC and we will have to call the callback to JSON RPC at bdev_nvme_reset_complete(). To do it easily, register the current completion function for nvme_bdev_io in bdev_nvme_reset_complete() into nvme_ctrlr as a generic callback. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ie59551dc343215a95bfa5b22f234fc153c9db1b5 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8589 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com>