]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
tool/ceph-bluestore-tool: Make bluefs-bdev-expand command output nicer.
authorIgor Fedotov <ifedotov@croit.io>
Tue, 18 Feb 2025 17:20:53 +0000 (20:20 +0300)
committerIgor Fedotov <igor.fedotov@croit.io>
Tue, 11 Mar 2025 09:42:12 +0000 (12:42 +0300)
commitfd5394eaf88ee7d9f407505ebaf03851dd579e26
tree1bb493ad155f98d6c0e438ff8df8c6c04f3e06a6
parent51d47a5f088968e67c728fb3fc9ebffe896fea96
tool/ceph-bluestore-tool: Make bluefs-bdev-expand command output nicer.

Here is a sample output:

inferring bluefs devices from bluestore path
0 : device size 0x4049c000(1.0 GiB) : using 0x1801000(24 MiB)
1 : device size 0x140000000(5 GiB) : using 0x1502000(21 MiB)
2 : device size 0x8c0000000(35 GiB) : using 0x40014000(1.0 GiB)
Expanding DB/WAL...
0 : nothing to do, skipped
1 : Expanding to 0x140000000(5 GiB)
1 : size updated to 0x140000000(5 GiB)
2 : Expanding to 0x8c0000000(35 GiB)
2 : size updated to 0x8c0000000(35 GiB)

Fixes: https://tracker.ceph.com/issues/67966
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit ac7789139e3d4ba3bfd69ddcd4fe504c35b42bc3)
src/os/bluestore/BlueFS.cc
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h