mirror of
https://github.com/ceph/ceph
synced 2025-02-22 02:27:29 +00:00
doc,os,osdc: drop and modify some comments
Signed-off-by: songweibin <song.weibin@zte.com.cn>
This commit is contained in:
parent
9b71d98ff6
commit
9ccb710aa4
@ -36,8 +36,6 @@ To list your cluster's pools, execute::
|
||||
|
||||
ceph osd lspools
|
||||
|
||||
On a freshly installed cluster, only the ``rbd`` pool exists.
|
||||
|
||||
|
||||
.. _createpool:
|
||||
|
||||
|
@ -1701,7 +1701,6 @@ public:
|
||||
* @param len number of bytes to be read
|
||||
* @param bl output bufferlist
|
||||
* @param op_flags is CEPH_OSD_OP_FLAG_*
|
||||
* @param allow_eio if false, assert on -EIO operation failure
|
||||
* @returns number of bytes read on success, or negative error code on failure.
|
||||
*/
|
||||
virtual int read(
|
||||
|
@ -2708,7 +2708,7 @@ bool Objecter::_osdmap_pool_full(const pg_pool_t &p) const
|
||||
*/
|
||||
bool Objecter::_osdmap_full_flag() const
|
||||
{
|
||||
// Ignore the FULL flag if the caller has honor_osdmap_full
|
||||
// Ignore the FULL flag if the caller does not have honor_osdmap_full
|
||||
return osdmap->test_flag(CEPH_OSDMAP_FULL) && honor_osdmap_full;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user