ref: ed15895273e750a388552171d4888e075bc3ea59
parent: 62860abc1baa132f3419c0b08c8907284f6aa520
author: 9ferno <gophone2015@gmail.com>
date: Sun Oct 23 04:47:03 EDT 2022
removed the pending writes at the end
--- a/ctl.c
+++ b/ctl.c
@@ -104,8 +104,7 @@
n += snprint(buf+n, 1024-n, "(blocks) free %ulld, used %ulld, total %ulld\n"
"(MiB) free %ulld, used %ulld, total %ulld\n"
"(GiB) free %ulld, used %ulld, total %ulld\n"
- "(TiB) free %ulld, used %ulld, total %ulld\n"
- "pending writes %llud\n",
+ "(TiB) free %ulld, used %ulld, total %ulld\n",
free, used, config.nblocks,
free * Rawblocksize / MiB,
used * Rawblocksize / MiB,
@@ -115,8 +114,7 @@
config.size / GiB,
free * Rawblocksize / TiB,
used * Rawblocksize / TiB,
- config.size / TiB,
- pendingwrites()
+ config.size / TiB
);
else if(config.size > GiB)
n += snprint(buf+n, 1024-n, "(blocks) free %ulld, used %ulld, total %ulld\n"