]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crush: correct typo
authorChangcheng Liu <changcheng.liu@aliyun.com>
Wed, 26 Aug 2020 01:48:51 +0000 (09:48 +0800)
committerChangcheng Liu <changcheng.liu@aliyun.com>
Sun, 6 Sep 2020 12:56:59 +0000 (20:56 +0800)
Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
src/crush/CrushWrapper.h
src/crush/crush.h

index ed4a90addc425d691bd0e232b51ea4e4faf3ec91..b7bad6f45f30b50ec1faadf85d93531614d10ef2 100644 (file)
@@ -787,7 +787,7 @@ public:
   /**
    * insert an item into the map at a specific position
    *
-   * Add an item as a specific location of the hierarchy.
+   * Add an item at a specific location of the hierarchy.
    * Specifically, we look for the most specific location constraint
    * for which a bucket already exists, and then create intervening
    * buckets beneath that in order to place the item.
index 83ef88a6b76db97f0c9c4d6a8e0ad63c390fa8f2..747601467cedcaf4e1c1c38a4fe3dea4ffb3379b 100644 (file)
@@ -335,7 +335,7 @@ struct crush_bucket_straw {
  * __h.alg__ == ::CRUSH_BUCKET_STRAW2.
  *
  * The weight of __h.items[i]__ is __item_weights[i]__ for i in
- * [0,__h.size__[.
+ * [0,__h.size__].
  */
 struct crush_bucket_straw2 {
         struct crush_bucket h; /*!< generic bucket information */