]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librados: fix admin/build-doc warning 25706/head
authorJos Collin <jcollin@redhat.com>
Wed, 26 Dec 2018 06:28:06 +0000 (11:58 +0530)
committerJos Collin <jcollin@redhat.com>
Wed, 2 Jan 2019 09:18:06 +0000 (14:48 +0530)
Fixed warning: librados.h:321: warning: Member compressed_bytes_alloc
(variable) of class rados_pool_stat_t is not documented.

Signed-off-by: Jos Collin <jcollin@redhat.com>
src/include/rados/librados.h
src/osd/osd_types.h

index ca3cdb34e07b17b4a27da24bddc3d87168cbd8d6..a40c7b3e2d544490529883ae63087c19a37a3439 100644 (file)
@@ -311,13 +311,13 @@ struct rados_pool_stat_t {
   uint64_t num_wr;
   /// objects written in KB
   uint64_t num_wr_kb;
-  ///< bytes originally provided by user
+  /// bytes originally provided by user
   uint64_t num_user_bytes;
-  ///< bytes passed compression
+  /// bytes passed compression
   uint64_t compressed_bytes_orig;
-  ///< bytes resulted after compression
+  /// bytes resulted after compression
   uint64_t compressed_bytes;
-  ///< bytes allocated at storage
+  /// bytes allocated at storage
   uint64_t compressed_bytes_alloc;
 };
 
index 7055431fc1bef8c3949a0285855adc05a8bef93a..c35d20accc6a78f607d1c52c9a8e22e5a5c4b914 100644 (file)
@@ -1298,9 +1298,9 @@ public:
   /// last epoch that forced clients to resend (pre-luminous clients only)
   epoch_t last_force_op_resend_preluminous = 0;
 
-  ///< last_epoch_started preceding pg_num decrement request
+  /// last_epoch_started preceding pg_num decrement request
   epoch_t pg_num_dec_last_epoch_started = 0;
-  ///< last_epoch_clean preceding pg_num decrement request
+  /// last_epoch_clean preceding pg_num decrement request
   epoch_t pg_num_dec_last_epoch_clean = 0;
   snapid_t snap_seq;        ///< seq for per-pool snapshot
   epoch_t snap_epoch;       ///< osdmap epoch of last snap
@@ -1366,7 +1366,7 @@ public:
   uint64_t target_max_objects; ///< tiering: target max pool size
 
   uint32_t cache_target_dirty_ratio_micro; ///< cache: fraction of target to leave dirty
-  uint32_t cache_target_dirty_high_ratio_micro; ///<cache: fraction of  target to flush with high speed
+  uint32_t cache_target_dirty_high_ratio_micro; ///< cache: fraction of  target to flush with high speed
   uint32_t cache_target_full_ratio_micro;  ///< cache: fraction of target to fill before we evict in earnest
 
   uint32_t cache_min_flush_age;  ///< minimum age (seconds) before we can flush
@@ -1379,9 +1379,9 @@ public:
   uint32_t min_read_recency_for_promote;   ///< minimum number of HitSet to check before promote on read
   uint32_t min_write_recency_for_promote;  ///< minimum number of HitSet to check before promote on write
   uint32_t hit_set_grade_decay_rate;   ///< current hit_set has highest priority on objects
-                                       ///temperature count,the follow hit_set's priority decay 
-                                       ///by this params than pre hit_set
-  uint32_t hit_set_search_last_n;   ///<accumulate atmost N hit_sets for temperature
+                                       ///temperature count,the follow hit_set's priority decay 
+                                       ///by this params than pre hit_set
+  uint32_t hit_set_search_last_n;   ///< accumulate atmost N hit_sets for temperature
 
   uint32_t stripe_width;        ///< erasure coded stripe size in bytes
 
@@ -3072,7 +3072,7 @@ public:
     std::shared_ptr<const OSDMap> osdmap,      ///< [in] current map
     std::shared_ptr<const OSDMap> lastmap,     ///< [in] last map
     pg_t pgid,                                  ///< [in] pgid for pg
-    IsPGRecoverablePredicate *could_have_gone_active, /// [in] predicate whether the pg can be active
+    IsPGRecoverablePredicate *could_have_gone_active, ///< [in] predicate whether the pg can be active
     PastIntervals *past_intervals,              ///< [out] intervals
     ostream *out = 0                            ///< [out] debug ostream
     );
@@ -3153,11 +3153,11 @@ public:
   };
   struct PriorSet {
     bool ec_pool = false;
-    set<pg_shard_t> probe; /// current+prior OSDs we need to probe.
-    set<int> down;  /// down osds that would normally be in @a probe and might be interesting.
-    map<int, epoch_t> blocked_by;  /// current lost_at values for any OSDs in cur set for which (re)marking them lost would affect cur set
+    set<pg_shard_t> probe; ///< current+prior OSDs we need to probe.
+    set<int> down;  ///< down osds that would normally be in @a probe and might be interesting.
+    map<int, epoch_t> blocked_by;  ///< current lost_at values for any OSDs in cur set for which (re)marking them lost would affect cur set
 
-    bool pg_down = false;   /// some down osds are included in @a cur; the DOWN pg state bit should be set.
+    bool pg_down = false;   ///< some down osds are included in @a cur; the DOWN pg state bit should be set.
     unique_ptr<IsPGRecoverablePredicate> pcontdec;
 
     PriorSet() = default;
@@ -3663,7 +3663,7 @@ struct pg_log_entry_t {
   osd_reqid_t reqid;  // caller+tid to uniquely identify request
   mempool::osd_pglog::vector<pair<osd_reqid_t, version_t> > extra_reqids;
 
-  ///< map extra_reqids by index to error return code (if any)
+  /// map extra_reqids by index to error return code (if any)
   mempool::osd_pglog::map<uint32_t, int> extra_reqid_return_codes;
 
   eversion_t version, prior_version, reverting_to;
@@ -4659,13 +4659,13 @@ struct object_copy_data_t {
 
   /// which snaps we are defined for (if a snap and not the head)
   vector<snapid_t> snaps;
-  ///< latest snap seq for the object (if head)
+  /// latest snap seq for the object (if head)
   snapid_t snap_seq;
 
-  ///< recent reqids on this object
+  /// recent reqids on this object
   mempool::osd_pglog::vector<pair<osd_reqid_t, version_t> > reqids;
 
-  ///< map reqids by index to error return code (if any)
+  /// map reqids by index to error return code (if any)
   mempool::osd_pglog::map<uint32_t, int> reqid_return_codes;
 
   uint64_t truncate_seq;