]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: store purged_snaps history under separate object
authorSage Weil <sage@redhat.com>
Wed, 3 Jul 2019 18:29:15 +0000 (13:29 -0500)
committerSage Weil <sage@redhat.com>
Wed, 3 Jul 2019 18:29:15 +0000 (13:29 -0500)
commit65b7143cd431ae251540560540b0ec2f53fd9fc7
tree043c1c8b38772c05de6f567b30b6fd7466672c39
parentb17850a6653f2f5870907ee54c72955735ffc84a
osd: store purged_snaps history under separate object

We can't put this in the snapmapper object because filestore does not
allow multiple concurrent omap iterators on the same object.  (This is a
limitation that could be fixed with some read/write locking, but not
without some significant changes to DBObjectMap; since that is old crufty
legacy code let's avoid touching it!)

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc
src/osd/OSD.h
src/osd/SnapMapper.cc
src/osd/SnapMapper.h