]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc/Journaler: fix obj count in Journaler:erase
authorJohn Spray <john.spray@inktank.com>
Tue, 20 May 2014 10:59:53 +0000 (11:59 +0100)
committerJohn Spray <john.spray@inktank.com>
Tue, 20 May 2014 13:43:54 +0000 (14:43 +0100)
commit3207c50507c647d9abd663da31e69a878f53e9f8
treef060b9ff2d2438cd2c5edf4e7115f7ddf772e9b4
parent2621b5d9e27b46d3dba50ab82b2efb15ff68537a
osdc/Journaler: fix obj count in Journaler:erase

This was off by one (too few) in the case of a
trimmedpos->write_pos range that had length
layout_period+2 and starting position one byte
before a period boundary.

Signed-off-by: John Spray <john.spray@inktank.com>
src/osdc/Journaler.cc