Enable HDD defaults for HDD-only in automatic vitastor-disk prepare mode

This commit is contained in:
Vitaliy Filippov
2023-07-23 02:33:22 +03:00
parent 10a5fd6abb
commit e4237e9ed8
+1 -1
View File
@@ -621,7 +621,7 @@ int disk_tool_t::prepare(std::vector<std::string> devices)
} }
} }
// Treat all disks as SSDs if not in the hybrid mode // Treat all disks as SSDs if not in the hybrid mode
prepare_one(options, hybrid && dev.is_hdd ? 1 : 0); prepare_one(options, dev.is_hdd ? 1 : 0);
if (hybrid) if (hybrid)
{ {
options.erase("journal_device"); options.erase("journal_device");