Report scrub I/O in vitastor-cli status

This commit is contained in:
Vitaliy Filippov
2023-06-17 21:11:21 +03:00
parent 32f2c4dd27
commit c74a424930
3 changed files with 27 additions and 4 deletions
+8
View File
@@ -300,3 +300,11 @@ std::string read_all_fd(int fd)
res.resize(res_size);
return res;
}
std::string str_repeat(const std::string & str, int times)
{
std::string r;
for (int i = 0; i < times; i++)
r += str;
return r;
}