1
0
Fork 0

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

hotfix-1.0.0
Vitaliy Filippov 2023-07-23 02:33:18 +03:00
parent 10a5fd6abb
commit e4237e9ed8
1 changed files with 1 additions and 1 deletions

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
prepare_one(options, hybrid && dev.is_hdd ? 1 : 0);
prepare_one(options, dev.is_hdd ? 1 : 0);
if (hybrid)
{
options.erase("journal_device");