Project

General

Profile

Actions

Documentation #46099

open

document statfs operation for ceph-objectstore-tool

Added by Zac Dover almost 4 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Documentation
Target version:
-
% 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

Actions #1

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;
}

Actions #2

Updated by Zac Dover almost 4 years ago

  • Tracker changed from Bug to Documentation
Actions

Also available in: Atom PDF