From: songweibin Date: Thu, 14 Sep 2017 13:27:38 +0000 (+0800) Subject: doc,os,osdc: drop and modify some comments X-Git-Tag: v13.0.1~890^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F17732%2Fhead;p=ceph.git doc,os,osdc: drop and modify some comments Signed-off-by: songweibin --- diff --git a/doc/rados/operations/pools.rst b/doc/rados/operations/pools.rst index 10169ff62d1b..7ec38098a12b 100644 --- a/doc/rados/operations/pools.rst +++ b/doc/rados/operations/pools.rst @@ -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: diff --git a/src/os/ObjectStore.h b/src/os/ObjectStore.h index cde284b6fbc5..c47d358f3810 100644 --- a/src/os/ObjectStore.h +++ b/src/os/ObjectStore.h @@ -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( diff --git a/src/osdc/Objecter.cc b/src/osdc/Objecter.cc index 55e13030942c..2f54b10eee7f 100644 --- a/src/osdc/Objecter.cc +++ b/src/osdc/Objecter.cc @@ -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; }