]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: describe some rados_pool_stat_t members
authorJosh Durgin <josh.durgin@dreamhost.com>
Tue, 10 Jan 2012 02:58:27 +0000 (18:58 -0800)
committerJosh Durgin <josh.durgin@dreamhost.com>
Tue, 10 Jan 2012 03:10:11 +0000 (19:10 -0800)
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
src/include/rados/librados.h

index 3e65dcd509dfc79982bfc42c105be047e2d88038..be0ad95eb5ffe00642ea37d72cc57be8f0db8588 100644 (file)
@@ -108,20 +108,28 @@ typedef void *rados_xattrs_iter_t;
 /**
  * @struct rados_pool_stat_t
  * Usage information for a pool.
- *
- * num_bytes
- *
  */
 struct rados_pool_stat_t {
-  uint64_t num_bytes;    // in bytes
-  uint64_t num_kb;       // in KB
+  /// space used in bytes
+  uint64_t num_bytes;
+  /// space used in KB
+  uint64_t num_kb;
+  /// number of objects in the pool
   uint64_t num_objects;
+  /// number of clones of objects
   uint64_t num_object_clones;
-  uint64_t num_object_copies;  // num_objects * num_replicas
+  /// num_objects * num_replicas
+  uint64_t num_object_copies;
   uint64_t num_objects_missing_on_primary;
+  /// number of objects found on no OSDs
   uint64_t num_objects_unfound;
+  /// number of objects replicated fewer times than they should be
+  /// (but found on at least one OSD)
   uint64_t num_objects_degraded;
-  uint64_t num_rd, num_rd_kb,num_wr, num_wr_kb;
+  uint64_t num_rd;
+  uint64_t num_rd_kb;
+  uint64_t num_wr;
+  uint64_t num_wr_kb;
 };
 
 /**