53429c7f44
As a start of combining interrupt ability into poller, it aims to get spdk_thread & spdk_poller runnable between poll mode and interrupt mode with dynamic switching. spdk_interrupt_mode_is_enabled() indicate whether interrupt mode is enabled and dynamic switching is permitted. So spdk_interrupt_mode_is_enabled==true leads to set up interrupt mode related resources; in_interrupt flag indicates whether one spdk_thread now is running in intr mode. It is possible that spdk_interrupt_mode_is_enabled==true but in_interrupt==false. this means spdk_thread & spdk_poller switched to poll mode from interrupt mode due to heavy workload coming. To align with spdk_reactor, use "in_interrupt" to indicate whether one spdk_thread now runs in intr. Change-Id: I2cd806bf4dec9969f3df88fac7f6b0c0b716d907 Signed-off-by: Liu Xiaodong <xiaodong.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6540 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Community-CI: Mellanox Build Bot |
||
---|---|---|
.. | ||
accel_engine.h | ||
assert.h | ||
event.h | ||
idxd.h | ||
lvolstore.h | ||
mock.h | ||
nvme_tcp.h | ||
rdma.h | ||
sock.h | ||
thread.h | ||
uring.h | ||
utf.h | ||
vhost_user.h | ||
virtio.h |