Spdk/test/unit/lib/bdev
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
..
bdev_ocssd.c bdev/nvme: add a function for specifying a multipath trid. 2020-06-22 10:13:29 +00:00
bdev_zone.c ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
bdev.c lib/bdev: Use not SPDK thread count but core count for mempool cache size 2020-06-08 09:33:50 +00:00
compress.c pollers: Fix pollers to return correct busy status 2020-07-07 07:29:31 +00:00
crypto.c ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
gpt module/bdev_gpt: remove spdk prefix from static/internal functions. 2020-05-15 07:58:03 +00:00
mt lib/bdev: Use not SPDK thread count but core count for mempool cache size 2020-06-08 09:33:50 +00:00
part.c ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
pmem module/bdev_pmem: remove spdk prefix from static/internal functions. 2020-05-15 07:58:03 +00:00
raid module/raid_bdev: remove spdk prefix from static functions. 2020-05-15 07:58:03 +00:00
scsi_nvme.c ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
vbdev_lvol.c lvol: remove lvol_task structure 2020-04-24 15:45:21 +00:00
vbdev_zone_block.c lib/thread: Wait until thread_is_exited() is true by thread_poll() after thread_exit() 2020-04-08 06:43:05 +00:00
Makefile ut/raid: put bdev_raid.c into 'raid' subdirectory 2020-02-20 14:40:19 +00:00