]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/FileJournal: When dump journal, using correctly seq avoid misjudging joural corrupt. 2764/head
authorMa Jianpeng <jianpeng.ma@intel.com>
Mon, 21 Jul 2014 07:08:55 +0000 (15:08 +0800)
committerSage Weil <sage@redhat.com>
Tue, 21 Oct 2014 13:56:17 +0000 (06:56 -0700)
commit3e17a0872a3864cb6aee46959afd955ef0cbafeb
tree08dfbb91caa3e112e83df1bec039e1dfcbcc73e1
parent350da8c98bc1e90cd392992aba290c7478280d88
os/FileJournal: When dump journal, using correctly seq avoid misjudging joural corrupt.

In func FileJournal::dump, it always using seq=0 as last-seq and it can
misjudge the journal corrupt.

Signed-off-by: Ma Jianpeng <jianpeng.ma@intel.com>
(cherry picked from commit 5f65b4db6d1dad7c2c5a09eab42af63a82ea9e9b)
src/os/FileJournal.cc