Skip to content

Commit

Permalink
os/bluestore: corrected the description of the horizontal and vertica…
Browse files Browse the repository at this point in the history
…l axes in bluefs stats output

Signed-off-by: Jrchyang Yu <[email protected]>
  • Loading branch information
jrchyang committed Jun 17, 2024
1 parent 438f57a commit 00da431
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/os/bluestore/BlueStore.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/os/bluestore/BlueStore.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 00da431

Please sign in to comment.