]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: add encode/deocde impl for new layout
authorDong Yuan <yuandong1222@gmail.com>
Thu, 27 Nov 2014 14:52:36 +0000 (14:52 +0000)
committerSage Weil <sage@redhat.com>
Tue, 6 Jan 2015 21:29:06 +0000 (13:29 -0800)
commita4575d10188c73f8da317ec979439d96d8c77571
treede30879b363bb69fe2c431226b3bd4d85e69d689
parent3db4f696e51b9b86cc4366161a27c8eaf85856ab
osd: add encode/deocde impl for new layout

When use_tbl is true, Transaction::encode will give the same result as
before, while when use_tbl is false, Transaction::encode will use new
field and logic to encode and all related methods such as
get_encoded_bytes, get_data_offset will do the same.

Change-Id: Ia5864e489d47f37cf496fe3fb825b21977d2d938
Signed-off-by: Dong Yuan <yuandong1222@gmail.com>
src/os/ObjectStore.h