numam-spdk/lib
Ziye Yang 4ebe8214dd lvol, blob: make channel operations number configurable for blob.
We need to make the channel operations numbers configurable for blob.
Reason: for iSCSI tests, if there is one CPU core, there will be only
one channel, thus read stress tests would
fail since we need more operations for blob channel.

Select a value equal to the small buffer size(8192) for
bdev layer, thus we can solve the iSCSI read issue
correctly. Since for bdev read, we currently only
allow 8192 active bdev I/o requests, so this solution should
work.

PS: Current solution is still not perfect, I think the very
precise fix is that we need to restrict sending I/Os
to the blob, if there is no channel operations. Though
current code, we have retry I/O in bdev , but it still fails
the iSCSI high pressure test.

Change-Id: I211f7a89d144af2c96ad4cc1bd7ac8e94adc72e7
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
Reviewed-on: https://review.gerrithub.io/393115
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-01-04 14:05:30 -05:00
..
bdev bdev: Renamed lvol->old_name to lvol->unique_id 2018-01-04 13:15:09 -05:00
blob lvol, blob: make channel operations number configurable for blob. 2018-01-04 14:05:30 -05:00
blobfs blob: change spdk_bs_iter_next parameter to spdk_blob * 2017-12-15 12:28:44 -05:00
conf conf: Remove use of perror() for strdup() failure 2017-12-15 16:13:27 -05:00
copy build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
cunit include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
env_dpdk env: export spdk_env_get_last_core function. 2017-12-23 15:08:24 -05:00
event build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
ioat build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
iscsi iscsi/conn: remove the libuns related comments. 2018-01-03 14:03:18 -05:00
json astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
jsonrpc log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
log log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
lvol lvol, blob: make channel operations number configurable for blob. 2018-01-04 14:05:30 -05:00
nbd nbd: place mop-up ioctl to _nbd_stop 2017-12-26 12:09:35 -05:00
net astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
nvme build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
nvmf build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
rocksdb astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
rpc build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
scsi scsi/lun: fix hotremove with no io_channels open 2018-01-03 14:38:11 -05:00
trace trace: only build mask up to SPDK_TRACE_MAX_GROUP_ID 2018-01-04 12:30:59 -05:00
ut_mock test/mock: add pthread_self 2017-09-19 17:15:15 -04:00
util util: make spdk_strerror_r() return void 2018-01-03 14:04:59 -05:00
vhost vhost: don't check HOTPLUG feature flag when not necessary 2018-01-03 12:15:30 -05:00
virtio virtio: fix full-virtqueue handling 2018-01-03 14:35:36 -05:00
Makefile virtio: add new library virtio 2017-12-26 13:03:29 -05:00