]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
PGLog: maintain writeout_from and trimmed
authorSamuel Just <sam.just@inktank.com>
Tue, 27 Aug 2013 15:49:14 +0000 (08:49 -0700)
committerSamuel Just <sam.just@inktank.com>
Fri, 6 Sep 2013 23:06:12 +0000 (16:06 -0700)
commitc22d980cf42e580818dc9f526327518c0ddf8ff5
treec5f9d9f182dd564f136a3dfe207e2129ef76c24e
parent53c7ab4db00ec7034f5aa555231f9ee167f43201
PGLog: maintain writeout_from and trimmed

This way, we can avoid omap_rmkeyrange in the common append
and trim cases.

Fixes: #6040
Backport: Dumpling
Signed-off-by: Samuel Just <sam.just@inktank.com>
(cherry picked from commit f808c205c503f7d32518c91619f249466f84c4cf)
src/osd/PGLog.cc
src/osd/PGLog.h