bdev/rbd: Use the non-timer poller.
The timer poller could add the latency since we poll it every 50ns. Signed-off-by: Ziye Yang <ziye.yang@intel.com> Change-Id: Ia3d0ec56658b9365fdd34b67663a3365eb738451 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4081 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: <dongx.yi@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Community-CI: Broadcom CI
This commit is contained in:
parent
bc0394250f
commit
a9c0fdd77d
@ -56,8 +56,6 @@
|
||||
|
||||
static int bdev_rbd_count = 0;
|
||||
|
||||
#define BDEV_RBD_POLL_US 50
|
||||
|
||||
struct bdev_rbd {
|
||||
struct spdk_bdev disk;
|
||||
char *rbd_name;
|
||||
@ -808,7 +806,7 @@ bdev_rbd_group_create_cb(void *io_device, void *ctx_buf)
|
||||
return -1;
|
||||
}
|
||||
|
||||
ch->poller = SPDK_POLLER_REGISTER(bdev_rbd_group_poll, ch, BDEV_RBD_POLL_US);
|
||||
ch->poller = SPDK_POLLER_REGISTER(bdev_rbd_group_poll, ch, 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user