Since
62bb65289dd0 ("nvme: change retry count can be configured via bdev nvme driver")
this global variable is removed and there is no easy access to bdev_nvme
options, so just remove this config which is hardly used.
Signed-off-by: Roman Penyaev <rpenyaev@suse.de>
spdk_env_init(&opts);
spdk_unaffinitize_thread();
- spdk_nvme_retry_count = g_ceph_context->_conf->bdev_nvme_retry_count;
- if (spdk_nvme_retry_count < 0)
- spdk_nvme_retry_count = SPDK_NVME_DEFAULT_RETRY_COUNT;
-
std::unique_lock l(probe_queue_lock);
while (!stopping) {
if (!probe_queue.empty()) {
// to the uio_pci_generic driver. The purpose is to prevent the case where
// NVMe driver is loaded while osd is running.
OPTION(bdev_nvme_unbind_from_kernel, OPT_BOOL)
-OPTION(bdev_nvme_retry_count, OPT_INT) // -1 means by default which is 4
OPTION(bdev_enable_discard, OPT_BOOL)
OPTION(bdev_async_discard, OPT_BOOL)
.set_default(false)
.set_description(""),
- Option("bdev_nvme_retry_count", Option::TYPE_INT, Option::LEVEL_ADVANCED)
- .set_default(-1)
- .set_description(""),
-
Option("bdev_enable_discard", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)
.set_default(false)
.set_description(""),