Actions
Documentation #46099
opendocument statfs operation for ceph-objectstore-tool
% Done:
0%
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
https://github.com/ceph/ceph/pull/35632
https://github.com/ceph/ceph/pull/33823
The affected file (I think) is /doc/man/8/ceph-objectstore-tool.rst
Updated by Zac Dover almost 4 years ago
if (op == "statfs") {
store_statfs_t statsbuf;
ret = fs->statfs(&statsbuf);
if (ret < 0) {
cerr << "error from statfs: " << cpp_strerror(ret) << std::endl;
goto out;
}
formatter->open_object_section("statfs");
statsbuf.dump(formatter);
formatter->close_section();
formatter->flush(cout);
cout << std::endl;
goto out;
}
Updated by Zac Dover almost 4 years ago
- Tracker changed from Bug to Documentation
Actions