Fix notification about NVME device

Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
This commit is contained in:
Slawomir Jankowski 2020-08-19 15:27:11 +02:00
parent ed0052f502
commit 0d3b37b580

View File

@ -971,9 +971,7 @@ int start_cache(uint16_t cache_id, unsigned int cache_init,
if (!cmd.metadata_mode_optimal) if (!cmd.metadata_mode_optimal)
cas_printf(LOG_NOTICE, "Selected metadata mode is not optimal for device %s.\n" cas_printf(LOG_NOTICE, "Selected metadata mode is not optimal for device %s.\n"
"You can improve cache performance by formating your device\n" "You can improve cache performance by formatting your device\n",
"to use optimal metadata mode with following command:\n"
"casadm --nvme --format atomic --device %s\n",
cache_device, cache_device); cache_device, cache_device);
check_cache_scheduler(cache_device, check_cache_scheduler(cache_device,