]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osdc/Journaler: make header write_pos align to boundary of flushed entry
authorYan, Zheng <zyan@redhat.com>
Wed, 12 Apr 2017 08:00:18 +0000 (16:00 +0800)
committerYan, Zheng <zyan@redhat.com>
Tue, 18 Apr 2017 02:20:09 +0000 (10:20 +0800)
commit8ae2962b79903e217fda83cea4140af64b5d6883
tree5ac7a243daa83bccdbb215df3bf8feab76c225ec
parent48074a96ec24a8ef1a0ecab499ac5d99febe49c5
osdc/Journaler: make header write_pos align to boundary of flushed entry

This can speed up the process that detects and drops partial written
entry in the log tail.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/osdc/Journaler.cc
src/osdc/Journaler.h