Returning negative value from a `foreach` callback will now break the entire chain. This is required for refactoring spdk_vhost_dev_foreach_session() to use the same mechanism as external events. Before we actually do the refactor, we add the only feature that external events were missing. Change-Id: I70bda3df99748de51429e329a056c37a3bc7e348 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/439444 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> |
||
---|---|---|
.. | ||
rte_vhost | ||
Makefile | ||
vhost_blk.c | ||
vhost_internal.h | ||
vhost_nvme.c | ||
vhost_rpc.c | ||
vhost_scsi.c | ||
vhost.c |