Spdk/lib
Shuhei Matsumoto baf3e12c09 lib/vhost: Replace poll group per session by thread per controller
Currently each controller is associated with one of the poll groups.
For each controller, all sessions are associated with the poll
groups with which the corresponding controller is associated.

Vhost poll group does not have any polling loop but its usage was
very complex.

Association of controller with poll group is done based on the
specified cpumask, and poll group is created per CPU core.

This is as same as association of thread with CPU core.

So in this patch, replace poll group per session by thread per
controller.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: Ifa1e136caae11959f7b097b06a22910bc2169b30
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1146
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
2020-03-10 09:12:12 +00:00
..
accel module/accel_engine: remove some annoying prints 2020-03-09 09:47:26 +00:00
bdev Bdev/QoS: add a specific bdev_start_qos function 2020-03-02 10:35:01 +00:00
blob lib/blob: add md page parameter to _spdk_bs_load_replay_md_parse_page() 2020-03-06 10:28:43 +00:00
blobfs blobfs: move global cache initialization and free into a function 2020-03-06 10:27:45 +00:00
conf string: spdk_strtol to delegate additional error checking 2019-01-29 00:10:57 +00:00
env_dpdk env_dpdk: Fix error when using vfio with noiommu 2020-03-06 10:28:07 +00:00
env_ocf lib/bdev/ocf: update of ocf library to version 19.06 2019-10-22 17:22:41 +00:00
event lib/event: Support SPDK_THREAD_OP_RESCHED operation in reactor 2020-02-28 14:37:53 +00:00
ftl lib/ftl: Make each ftl_l2p_set persistent when using pmem device for l2p 2020-03-06 10:28:21 +00:00
ioat module/ioat: fix pci device cleanup on exit 2020-02-21 09:38:09 +00:00
iscsi lib/iscsi: Add a assert for conn->sock 2020-03-06 10:28:02 +00:00
json json_util: fix typo in debug message. 2019-05-31 14:39:53 +00:00
jsonrpc json: increase the json rpc client value limit 2019-11-18 13:16:49 +00:00
log lib/log: do not put trailing whitespace in fdump 2020-02-04 20:08:02 +00:00
log_rpc RPC: rename get_log_flags to log_get_flags 2019-09-24 16:42:41 +00:00
lvol lib/blob: store clear_method in per blob metadata 2020-01-20 09:57:16 +00:00
nbd rpc: Rename get_nbd_disks to nbd_get_disks 2019-09-19 20:56:35 +00:00
net net: add the check for the add and delete IP operation 2019-12-09 17:39:50 +00:00
notify RPC: rename get_notifications to notify_get_notifications 2019-09-24 16:42:41 +00:00
nvme lib/nvme: move common connect code into transport shim 2020-03-06 10:29:21 +00:00
nvmf nvmf: Make spdk_nvmf_tgt_listen synchronous again 2020-03-06 10:29:45 +00:00
reduce lib/reduce: move _alloc_zero_buf earlier in init stage. 2019-12-19 11:04:57 +00:00
rocksdb global: rename copy to accel 2020-02-18 08:05:34 +00:00
rpc RPC: properly set the address in error cases 2019-12-04 15:11:55 +00:00
rte_vhost vhost: make SPDK internal vhost library can work compatible with live recovery 2020-01-22 13:54:19 +00:00
scsi lib/scsi: Remove workaround for astyle format check about break-after-return-type 2020-03-04 10:04:26 +00:00
sock sock/posix: Block recursive calls to spdk_sock_flush 2020-01-30 10:22:20 +00:00
thread lib/thread: Add spdk_io_device_get_name as a SPDK internal API 2020-03-06 10:29:56 +00:00
trace lib/trace: Don't initialize traces if requested num entries is 0 2020-02-10 10:23:53 +00:00
ut_mock test: Add mocks for sendmsg and recvmsg 2019-11-01 17:56:16 +00:00
util util/base64: Extend b64 decode to calculate exact len 2020-02-03 11:39:49 +00:00
vhost lib/vhost: Replace poll group per session by thread per controller 2020-03-10 09:12:12 +00:00
virtio virtio_user: use correct #ifndef for the internal vhost.h header 2020-01-10 08:45:45 +00:00
vmd lib/vmd: detach devices during shutdown 2020-02-04 16:50:25 +00:00
Makefile global: rename copy to accel 2020-02-18 08:05:34 +00:00