1d524bc384
spdk_for_each_channel() always passes status=0 to its completion callback if each channel completes the requested function successfully. bdev_nvme_reset_destroy_qpair() always succeeds. Hence bdev_nvme_reset_ctrlr() does not have to check if the passed status is not zero. The following patches will aggregate multiple flags into a single state for nvme_ctrlr. This change will simplify these. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I1c30c9b20c96886516029e69e90dc23d777a69b4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10077 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
blobfs | ||
env_dpdk | ||
event | ||
scheduler | ||
sock | ||
Makefile |