From f68694904db77198ac845b5d80a9db66be823b4d Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Sun, 14 Jan 2018 15:20:57 +0100 Subject: [PATCH] Cleanup the memory messages --- cmdline/io.c | 2 +- cmdline/snapraid.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmdline/io.c b/cmdline/io.c index bafea0db..c71ba411 100644 --- a/cmdline/io.c +++ b/cmdline/io.c @@ -889,7 +889,7 @@ void io_init(struct snapraid_io* io, struct snapraid_state* state, allocated += state->block_size * buffer_max; } - msg_progress("Using %u MiB of memory for %u blocks of IO cache.\n", (unsigned)(allocated / MEBI), io->io_max); + msg_progress("Using %u MiB of memory for %u cached blocks.\n", (unsigned)(allocated / MEBI), io->io_max); if (parity_writer) { io->reader_max = handle_max; diff --git a/cmdline/snapraid.c b/cmdline/snapraid.c index ac40f0b0..07103a60 100644 --- a/cmdline/snapraid.c +++ b/cmdline/snapraid.c @@ -87,7 +87,7 @@ void memory(void) log_tag("memory:link:%" PRIu64 "\n", (uint64_t)(sizeof(struct snapraid_link))); log_tag("memory:dir:%" PRIu64 "\n", (uint64_t)(sizeof(struct snapraid_dir))); - msg_progress("Using %u MiB of memory for the FileSystem.\n", (unsigned)(malloc_counter_get() / MEBI)); + msg_progress("Using %u MiB of memory for the file-system.\n", (unsigned)(malloc_counter_get() / MEBI)); } void test(int argc, char* argv[])