]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/osd_types: fix description of store_statfs_t::available field 9596/head
authorSage Weil <sage@redhat.com>
Wed, 8 Jun 2016 19:10:56 +0000 (15:10 -0400)
committerSage Weil <sage@redhat.com>
Wed, 8 Jun 2016 19:10:56 +0000 (15:10 -0400)
It's bytes, not blocks.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/osd_types.h

index 34708e2c5f37a3d12c4d3a063a11a69bf0f953bf..719444ac20048e069f034794d7f8d4b71ffd75a8 100644 (file)
@@ -4315,10 +4315,10 @@ struct PromoteCounter {
 +*/
 struct store_statfs_t
 {
-  uint64_t available = 0;              // Free blocks available
 
   uint64_t blocks = 0;                 // Total data blocks
   uint32_t bsize = 0;                  // Optimal transfer block size
+  uint64_t available = 0;              // Free bytes available
 
   int64_t allocated = 0;               // Bytes allocated by the store
   int64_t stored = 0;                  // Bytes actually stored by the user