]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/bluestore/bluestore_tool: add bluefs-log-dump command to dump bluefs's log
authorYang Honggang <joseph.yang@xtaotech.com>
Mon, 30 Oct 2017 03:10:00 +0000 (23:10 -0400)
committerYang Honggang <joseph.yang@xtaotech.com>
Mon, 30 Oct 2017 03:10:00 +0000 (23:10 -0400)
commite08c246ef2a9381be6727663a8d2dc729a10a6ee
tree5c4686d92a7ca2c110b2cfebbba476aca396d936
parent410594aed07aa50fa75b9ef8adacf82bcde1bc60
os/bluestore/bluestore_tool: add bluefs-log-dump command to dump bluefs's log

./bin/ceph-bluestore-tool --command bluefs-log-dump --path dev/osd0/
...
0x1000: txn(seq 2 len 0xd7 crc 0x306e389b)
0x1000:  op_dir_create db
0x1000:  op_dir_create db.wal
0x1000:  op_dir_create db.slow
0x1000:  op_file_update  file

Signed-off-by: Yang Honggang <joseph.yang@xtaotech.com>
src/os/bluestore/BlueFS.cc
src/os/bluestore/BlueFS.h
src/os/bluestore/bluestore_tool.cc