]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PGLog: dirty_to is inclusive 5518/head
authorSage Weil <sage@redhat.com>
Sun, 9 Aug 2015 14:46:10 +0000 (10:46 -0400)
committerSage Weil <sage@redhat.com>
Wed, 19 Aug 2015 21:13:28 +0000 (17:13 -0400)
commitf0ca14df0641daa04eee39d98d8bd0faf46e4e6d
treee59470fe6316fdaec7cccd137ae65fde45234d1c
parentc9ec2c0865130ac777c9a7cd4ef1231509bcd981
osd/PGLog: dirty_to is inclusive

There are only two callers of mark_dirty_to who do not pass max,
and they are both in the merge_log extending tail path.  In that
case, we want to include the last version specified in the log
writeout.  Fix the tail extending code to always specify the
last entry added, inclusive.

Fixes: #12652
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PGLog.cc
src/osd/PGLog.h