]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: new Transaction::iterator interface
authorDong Yuan <yuandong1222@gmail.com>
Mon, 1 Dec 2014 10:58:56 +0000 (10:58 +0000)
committerSage Weil <sage@redhat.com>
Tue, 6 Jan 2015 21:29:06 +0000 (13:29 -0800)
commit6b2103b7285fb99e38de39626b5ffbb3d55f2f9c
tree90db2198949650d5c6495f31f02096b325e9694a
parenta4575d10188c73f8da317ec979439d96d8c77571
osd: new Transaction::iterator interface

This patch add new Transaction::iterator interface according to new
encode/decode layout. The new iterator give the whole Op struct in a
single decode_op method.

All ObjectStore Impl (FileStore/MemStore/KeyValueStore) is also changed
to use the new interface.

Change-Id: I1900a6ec302890df2c4357b071e4966c26d7f037
Signed-off-by: Dong Yuan <yuandong1222@gmail.com>
src/os/FileStore.cc
src/os/KeyValueStore.cc
src/os/MemStore.cc
src/os/ObjectStore.h
src/os/Transaction.cc
src/test/objectstore/ObjectStoreTransactionBenchmark.cc