numam-spdk/lib/vhost
Maciej Szwed eb05cbd677 pollers: Fix pollers to return correct busy status
Poller should return status > 0 when it did some work
(CPU was used for some time) marking its call as busy
CPU time.

Active pollers should return BUSY status only if they
did any meangful work besides checking some conditions
(e.g. processing requests, do some complicated operations).

Signed-off-by: Maciej Szwed <maciej.szwed@intel.com>
Change-Id: Id4636a0997489b129cecfe785592cc97b50992ba
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2164
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI
Community-CI: Mellanox Build Bot
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2020-07-07 07:29:31 +00:00
..
Makefile lib/vhost: Remove and inline spdk_vhost_blk_get_dev 2020-06-08 09:28:27 +00:00
rte_vhost_compat.c lib/vhost: remove spdk prefix from static functions in rte_vhost_compat.c 2020-05-20 14:11:31 +00:00
spdk_vhost.map lib/vhost: Remove and inline spdk_vhost_blk_get_dev 2020-06-08 09:28:27 +00:00
vhost_blk.c pollers: Fix pollers to return correct busy status 2020-07-07 07:29:31 +00:00
vhost_internal.h vhost: set the packed ring as default 2020-06-12 15:45:27 +00:00
vhost_nvme.c pollers: Fix pollers to return correct busy status 2020-07-07 07:29:31 +00:00
vhost_rpc.c lib/vhost: remove spdk prefix from static functions in vhost_rpc.c 2020-05-20 14:11:31 +00:00
vhost_scsi.c pollers: Fix pollers to return correct busy status 2020-07-07 07:29:31 +00:00
vhost.c lib and module: remove remaining _spdk prefixes. 2020-06-01 13:07:30 +00:00