numam-spdk/include/spdk_internal
Tomasz Zawadzki b74b6133fa lib/event: remove scheduler dependency on lw_thread
Removing dependency on schedulers to directly modify
lw_thread field structures will help making schedulers
truly plugable.

Instead of using lw_thread, new structure is created
that holds copy of stats and refer to the thread by
spdk_thread id.

As an added benefit of not changing lw_thread directly,
we won't run into issue of balancing function changing it
while other reactor removes and frees it.

In the future an API will be added for scheduler to call
in order to move the thread directly. Rather than for
event framework to rely on modified core_info/thread_info
structure.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I8f85bb8dc080fd13b78b07ee9ef8e8be7051659b
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8411
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2021-07-19 08:05:19 +00:00
..
accel_engine.h lib/accel: add support for crc32 with copy using source IOVs 2021-07-15 21:04:08 +00:00
assert.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
event.h lib/event: remove scheduler dependency on lw_thread 2021-07-19 08:05:19 +00:00
idxd.h lib/idxd: implement idxd back end for CRC 2020-05-15 08:12:13 +00:00
init.h init: Declare a formal public API 2021-05-26 09:13:34 +00:00
lvolstore.h lvol: Don't include bdev_module.h in the public header 2021-05-04 21:07:42 +00:00
mock.h test: add generic unlink wrapper 2020-05-06 12:43:57 +00:00
nvme_tcp.h util/crc32c: Add spdk_crc32c_iov_update. 2021-06-02 11:37:17 +00:00
rdma.h rdma: Add statistics per qpair 2021-03-01 10:17:13 +00:00
sgl.h sgl.h: Add a new internal header file. 2021-06-02 11:34:27 +00:00
sock.h posix: Group connections of sock group on host side based on placement_id 2021-04-26 15:33:03 +00:00
thread.h thread: Make the definition of struct spdk_io_channel private 2021-06-25 05:01:45 +00:00
uring.h bdev/uring: Do not use IORING_SETUP_IOPOLL. 2020-08-04 18:27:56 +00:00
usdt.h usdt: don't emit probes in unit tests 2021-07-09 07:02:28 +00:00
utf.h utf.h: remove #include "spdk/json.h" 2018-01-31 14:37:16 -05:00
vhost_user.h vhost_user: add VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD definition 2020-01-13 12:43:16 +00:00
virtio.h virtio_blk: add hotplug support 2021-04-16 19:21:13 +00:00