For NVMe devices, in conjunction with the new batching options, it can be advantageous to artificially delay between polling for completions. Add an option to slow this rate down. Change-Id: I0fc92709ff45ead0beb388dda60694bf1ed8b258 Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/447716 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
33 lines
663 B
JSON
33 lines
663 B
JSON
{
|
|
"subsystems": [
|
|
{
|
|
"subsystem": "bdev",
|
|
"config": [
|
|
{
|
|
"params": {
|
|
"retry_count": 4,
|
|
"nvme_adminq_poll_period_us": 100000,
|
|
"nvme_ioq_poll_period_us": 0,
|
|
"action_on_timeout": "none"
|
|
},
|
|
"method": "set_bdev_nvme_options"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"subsystem": "iscsi",
|
|
"config": [
|
|
{
|
|
"method": "set_iscsi_options",
|
|
"params": {
|
|
"nop_timeout": 30,
|
|
"node_base": "iqn.2016-06.io.spdk",
|
|
"max_sessions": 16,
|
|
"error_recovery_level": 0
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|