From: Sage Weil Date: Tue, 28 Mar 2017 21:40:17 +0000 (-0400) Subject: os/filestore: implement collection_set_bits X-Git-Tag: v12.0.2~168^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d6e512b7af4277871672a164f50683675bc2f61c;p=ceph.git os/filestore: implement collection_set_bits Signed-off-by: Sage Weil --- diff --git a/src/os/filestore/FileStore.cc b/src/os/filestore/FileStore.cc index eb3a2885110d..e14c72a6d00d 100644 --- a/src/os/filestore/FileStore.cc +++ b/src/os/filestore/FileStore.cc @@ -2748,6 +2748,14 @@ void FileStore::_do_transaction( } break; + case Transaction::OP_COLL_SET_BITS: + { + const coll_t &cid = i.get_cid(op->cid); + int bits = op->split_bits; + r = _collection_set_bits(cid, bits); + } + break; + case Transaction::OP_COLL_HINT: { const coll_t &cid = i.get_cid(op->cid);