]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tools/JournalTool: update usage()
authorJohn Spray <john.spray@inktank.com>
Mon, 19 May 2014 23:12:07 +0000 (00:12 +0100)
committerJohn Spray <john.spray@inktank.com>
Tue, 20 May 2014 13:43:54 +0000 (14:43 +0100)
Signed-off-by: John Spray <john.spray@inktank.com>
src/tools/cephfs/JournalFilter.cc
src/tools/cephfs/JournalTool.cc

index 9bd766fd183de73a81d14ea23dab0d28e17fd89a..aefbb2f67793c690483c4899a7dfaf4a31ba3267 100644 (file)
@@ -243,8 +243,6 @@ int JournalFilter::parse_args(
         return -EINVAL;
       }
       client_name = entity_name_t::CLIENT(client_num);
-      
-      dout(4) << "dentry filter: '" << frag_dentry << "'" << dendl;
     } else {
       // We're done with args the filter understands
       break;
index 74dc7e255f81726d9a264d871e62be655ba619de..c11cabafd3314dfcee1cf1d1e002c5dc1bfb1c5c 100644 (file)
@@ -40,10 +40,16 @@ void JournalTool::usage()
   std::cout << "Usage: \n"
     << "  cephfs-journal-tool [options] journal [inspect|import|export|reset]\n"
     << "  cephfs-journal-tool [options] header <get|set <field> <value>\n"
-    << "  cephfs-journal-tool [options] event <selector> <effect> <output>\n"
-    << "    <selector>:  [--by-type=<metablob|client|mds|...?>|--by-inode=<inode>|--by-path=<path>|by-tree=<path>|by-range=<N>..<M>|by-dirfrag-name=<dirfrag id>,<name>]\n"
-    << "    <effect>: [get|splice]\n"
-    << "    <output>: [summary|binary|json] [-o <path>] [--latest]\n"
+    << "  cephfs-journal-tool [options] event <effect> <selector> <output>\n"
+    << "    <selector>:\n"
+    << "      --range=<start>..<end>\n"
+    << "      --path=<substring>\n"
+    << "      --inode=<integer>\n"
+    << "      --type=<UPDATE|OPEN|SESSION...><\n"
+    << "      --frag=<ino>.<frag> [--dname=<dentry string>]\n"
+    << "      --client=<session id integer>\n"
+    << "    <effect>: [get|apply|splice]\n"
+    << "    <output>: [summary|binary|json] [--path <path>]\n"
     << "\n"
     << "Options:\n"
     << "  --rank=<int>  Journal rank (default 0)\n";