Also allow cached I/O in dsk.open_*() in disk_tool

This commit is contained in:
Vitaliy Filippov
2024-11-06 13:52:25 +03:00
parent eafce26049
commit a775db10cc
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ int disk_tool_t::dump_load_check_superblock(const std::string & device)
{
auto cfg = json_to_string_map(sb["params"].object_items());
dsk.parse_config(cfg);
dsk.data_io = dsk.meta_io = dsk.journal_io = "direct";
dsk.data_io = dsk.meta_io = dsk.journal_io = "cached";
dsk.open_data();
dsk.open_meta();
dsk.open_journal();