From 9ccb710aa4d14580f8e54a21f7aa921f083c23a3 Mon Sep 17 00:00:00 2001 From: songweibin Date: Thu, 14 Sep 2017 21:27:38 +0800 Subject: [PATCH] doc,os,osdc: drop and modify some comments Signed-off-by: songweibin --- doc/rados/operations/pools.rst | 2 -- src/os/ObjectStore.h | 1 - src/osdc/Objecter.cc | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/doc/rados/operations/pools.rst b/doc/rados/operations/pools.rst index 10169ff62d1..7ec38098a12 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 cde284b6fbc..c47d358f381 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 55e13030942..2f54b10eee7 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; } -- 2.39.5