]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge pull request #18535 from yanghonggang/master
authorKefu Chai <tchaikov@gmail.com>
Tue, 31 Oct 2017 04:04:09 +0000 (12:04 +0800)
committerGitHub <noreply@github.com>
Tue, 31 Oct 2017 04:04:09 +0000 (12:04 +0800)
os/bluestore/bluestore_tool: add log-dump command to dump bluefs's log

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
1  2 
src/os/bluestore/BlueFS.cc
src/os/bluestore/BlueFS.h
src/os/bluestore/bluestore_tool.cc

Simple merge
index ebb76e86f07b3557a67abb5b3411ca3d0770649e,fc8643531412bc14f6a59bdd66e3ee0eb432376e..7c1cfd9beec90911481299cd25c068503c6975e8
@@@ -331,8 -331,13 +331,13 @@@ public
    int mkfs(uuid_d osd_uuid);
    int mount();
    void umount();
+   
+   int log_dump(
+     CephContext *cct,
+     const string& path,
+     const vector<string>& devs);
  
 -  void collect_metadata(map<string,string> *pm);
 +  void collect_metadata(map<string,string> *pm, unsigned skip_bdev_id);
    int fsck();
  
    uint64_t get_fs_usage();
Simple merge