]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os: drop snapid_t arg to collection_list
authorSage Weil <sage@redhat.com>
Wed, 29 Apr 2015 23:44:59 +0000 (16:44 -0700)
committerSage Weil <sage@redhat.com>
Fri, 7 Aug 2015 12:45:34 +0000 (08:45 -0400)
commitcdb1fc011ac20b2f30c77d75979686febe9c89b5
tree9fa533a648222e8af78fa0f152addda432b658b5
parente46a855e5f297d1aba401a3a91103a5a0945bf2a
os: drop snapid_t arg to collection_list

All this does is filter out objects with old snapids, but this can be
just as easily done in the one caller that specifies a non-zero value
(PGLS and PGNLS), which in fact already do that filtering.

Signed-off-by: Sage Weil <sage@redhat.com>
21 files changed:
src/os/CollectionIndex.h
src/os/FileStore.cc
src/os/FileStore.h
src/os/HashIndex.cc
src/os/HashIndex.h
src/os/KeyValueStore.cc
src/os/KeyValueStore.h
src/os/LFNIndex.cc
src/os/LFNIndex.h
src/os/MemStore.cc
src/os/MemStore.h
src/os/ObjectStore.h
src/osd/OSD.cc
src/osd/PG.cc
src/osd/PGBackend.cc
src/osd/PGBackend.h
src/osd/ReplicatedPG.cc
src/test/objectstore/FileStoreDiff.cc
src/test/objectstore/store_test.cc
src/test/objectstore/workload_generator.cc
src/tools/ceph_objectstore_tool.cc