]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix val used in inode->last_journaled 5336/head
authorJohn Spray <john.spray@redhat.com>
Fri, 24 Jul 2015 08:37:15 +0000 (09:37 +0100)
committerJohn Spray <john.spray@redhat.com>
Fri, 24 Jul 2015 08:37:15 +0000 (09:37 +0100)
commit992d959e239d034b68120aa393340c8ce9578785
tree1e8e65b13790cc1d23a988cd38d748c337e6514a
parentdedda6245ce8db8828fdf2d1a2bfe6163f1216a1
mds: fix val used in inode->last_journaled

This was getting assigned with LogEvent::get_start_offset
on an uncommitted LogEvent, which is junk.  During replay
last_journaled is compared with the metablob's event_seq,
so that's what should be used here.

This change just from code inspection -- haven't seen this
manifest as an actual misbehaviour.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/Migrator.cc