Some bluestore volumesmight be missing, proceed allocator stats inquiries for the remaining.
Signed-off-by: Igor Fedotov <ifdotov@suse.com>
in, err, &out);
if (r != 0) {
cerr << "failure querying '" << alloc_name << "'" << std::endl;
- exit(EXIT_FAILURE);
+ } else {
+ cout << alloc_name << ":" << std::endl;
+ cout << std::string(out.c_str(),out.length()) << std::endl;
}
- cout << alloc_name << ":" << std::endl;
- cout << std::string(out.c_str(),out.length()) << std::endl;
}
bluestore.cold_close();