]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/NewStore: fix for skipping the overlay in _do_overlay_trim
authorZhiqiang Wang <zhiqiang.wang@intel.com>
Mon, 27 Apr 2015 08:27:21 +0000 (16:27 +0800)
committerSage Weil <sage@redhat.com>
Tue, 1 Sep 2015 17:39:40 +0000 (13:39 -0400)
commitc552cd20ab84997e9fc2d6795b69d70116e82708
tree663e299a2f57bbfc14682bfb23cf2cc350365f59
parent793dcc396c055bbe4ce396cdef911c7a5583a3b1
osd/NewStore: fix for skipping the overlay in _do_overlay_trim

When the offset of the write starts at the end of the overlay, that is,
p->first + p->second.length == offset, the overlay could be skipped as
well.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
src/os/newstore/NewStore.cc