]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tools: fix MDS journal import 2880/head
authorJohn Spray <john.spray@redhat.com>
Fri, 7 Nov 2014 11:34:43 +0000 (11:34 +0000)
committerJohn Spray <john.spray@redhat.com>
Fri, 7 Nov 2014 14:43:38 +0000 (14:43 +0000)
commitd548431a388da1130564d710e1f006772934224b
tree61fbb8c8741536fc8a5a5ce1a2cfb0da6b11296d
parentd241aa7a347655242cc71b8fa3d778df6948c494
tools: fix MDS journal import

Previously it only worked on fresh filesystems which
hadn't been trimmed yet, and resulted in an invalid
trimmed_pos when expire_pos wasn't on an object
boundary.

Fixes: #10025
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit fb29e71f9a97c12354045ad2e128156e503be696)
src/mds/Dumper.cc