]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc,os,osdc: drop and modify some comments 17732/head
authorsongweibin <song.weibin@zte.com.cn>
Thu, 14 Sep 2017 13:27:38 +0000 (21:27 +0800)
committersongweibin <song.weibin@zte.com.cn>
Thu, 14 Sep 2017 13:27:38 +0000 (21:27 +0800)
Signed-off-by: songweibin <song.weibin@zte.com.cn>
doc/rados/operations/pools.rst
src/os/ObjectStore.h
src/osdc/Objecter.cc

index 10169ff62d1b792c7ca785f4cc9e84115b81b90a..7ec38098a12bbf3cb0934d6971b897798729280c 100644 (file)
@@ -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:
 
index cde284b6fbc5081a7e8fc326096b73878e7e8c99..c47d358f3810ed3d6dc3975d6420b921ca9f1354 100644 (file)
@@ -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(
index 55e13030942ce4b12c1d0031f0c0af9449459551..2f54b10eee7fd1fb7f52888dd7ea0a69a3a5f885 100644 (file)
@@ -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;
 }