]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: corrected the description of the horizontal and vertical axes in bluefs... 58079/head
authorjrchyang <yujrchyang@gmail.com>
Mon, 17 Jun 2024 02:55:18 +0000 (02:55 +0000)
committerjrchyang <yujrchyang@gmail.com>
Mon, 17 Jun 2024 02:55:39 +0000 (02:55 +0000)
Signed-off-by: Jrchyang Yu <yuzhiqiang_yewu@cmss.chinamobile.com>
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h

index 05d315a33a5cb3335d3ba53cd5e5c16d5d541d4f..1052b19d9dc22faa34ef4254d6f1ab17efb23127 100644 (file)
@@ -18722,7 +18722,7 @@ void RocksDBBlueFSVolumeSelector::dump(ostream& sout) {
        << ", l_multi=" << byte_u_t(level_multiplier)
        << std::endl;
   constexpr std::array<const char*, 8> names{ {
-    "DEV/LEV",
+    "LEV/DEV",
     "WAL",
     "DB",
     "SLOW",
index a9b510e162e00f285bdbe2e788094ead18200a29..bae1096c638bec6e3abb5065de739fdb704532d0 100644 (file)
@@ -4256,8 +4256,8 @@ class RocksDBBlueFSVolumeSelector : public BlueFSVolumeSelector
     LEVEL_SLOW,
     LEVEL_MAX
   };
-  // add +1 row for corresponding per-device totals
-  // add +1 column for per-level actual (taken from file size) total
+  // add +1 row for per-level actual (taken from file size) total
+  // add +1 column for corresponding per-device totals
   typedef matrix_2d<std::atomic<uint64_t>, BlueFS::MAX_BDEV + 1, LEVEL_MAX - LEVEL_FIRST + 1> per_level_per_dev_usage_t;
 
   per_level_per_dev_usage_t per_level_per_dev_usage;