numam-spdk/lib/nvmf
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
..
ctrlr_bdev.c all: Fix warnings found by gcc 9.3.0 and 9.3.1 2020-06-02 09:51:57 +00:00
ctrlr_discovery.c lib/nvmf: remove spdk_ and _spdk prefix from functions. 2020-06-01 09:21:14 +00:00
ctrlr.c pollers: Fix pollers to return correct busy status 2020-07-07 07:29:31 +00:00
fc_ls.c nvmf: Remove new_qpair callback from transport accept function pointer 2020-06-18 07:29:41 +00:00
fc.c nvmf: Remove new_qpair callback from transport accept function pointer 2020-06-18 07:29:41 +00:00
Makefile mk/nvme/nvmf: Add deps for RDMA libs 2020-06-18 07:28:04 +00:00
nvmf_fc.h nvmf: Remove new_qpair callback from transport accept function pointer 2020-06-18 07:29:41 +00:00
nvmf_internal.h nvmf: spdk_nvmf_tgt_accept no longer takes a new_qpair pointer 2020-06-16 07:44:49 +00:00
nvmf_rpc.c nvmf/nvmf_rpc: Remove unnecessary returns. 2020-06-11 19:51:59 +00:00
nvmf.c pollers: Fix pollers to return correct busy status 2020-07-07 07:29:31 +00:00
rdma.c pollers: Fix pollers to return correct busy status 2020-07-07 07:29:31 +00:00
spdk_nvmf.map nvmf: Remove new_qpair callback from transport accept function pointer 2020-06-18 07:29:41 +00:00
subsystem.c lib/nvmf: remove spdk_ and _spdk prefix from functions. 2020-06-01 09:21:14 +00:00
tcp.c pollers: Fix pollers to return correct busy status 2020-07-07 07:29:31 +00:00
transport.c nvmf: Remove new_qpair callback from transport accept function pointer 2020-06-18 07:29:41 +00:00
transport.h nvmf: Remove new_qpair callback from transport accept function pointer 2020-06-18 07:29:41 +00:00