Project

General

Profile

Documentation #46099

document statfs operation for ceph-objectstore-tool

Added by Zac Dover over 3 years ago. Updated over 3 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

History

#1 Updated by Zac Dover over 3 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;
}

#2 Updated by Zac Dover over 3 years ago

  • Tracker changed from Bug to Documentation

Also available in: Atom PDF