]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
tool: ceph-kvstore-tool's store-crc command did not save result to the file as expected
authorChang Liu <liuchang0812@gmail.com>
Wed, 8 Nov 2017 07:14:54 +0000 (15:14 +0800)
committerChang Liu <liuchang0812@gmail.com>
Thu, 9 Nov 2017 03:16:06 +0000 (11:16 +0800)
commite43f0c6e47b26647927b851e4d112f4b2bce5802
tree1ec0918433678f87bfdaed808e7e70183786986a
parentf2efd4de4dcb3cdf1a34054850933f633f047daa
tool: ceph-kvstore-tool's store-crc command did not save result to the file as expected

"store-crc <path>" command did not save result to <path>, it didn't use <path>
argument and alwayls passed a NULL to "st.traverse" function. now we will create file
<path>, pass a *ofstream to "st.traverse" function.

Fiexes: http://tracker.ceph.com/issues/22092

Signed-off-by: Chang Liu <liuchang0812@gmail.com>
src/tools/ceph_kvstore_tool.cc