]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: add feature CEPH_FEATURE_OSD_TRANSACTION_MAY_LAYOUT (1ULL<<47)>>)
authorDong Yuan <yuandong1222@gmail.com>
Wed, 10 Dec 2014 11:56:49 +0000 (11:56 +0000)
committerSage Weil <sage@redhat.com>
Tue, 6 Jan 2015 21:29:41 +0000 (13:29 -0800)
commitfda601976bace2b84b230de0c1fb863ed43090b5
tree03d16e8872d0bdd80a2b3d87d2cf3e74af8b3f82
parent5da6b41f8757b87090834568c572f1054628d860
osd: add feature CEPH_FEATURE_OSD_TRANSACTION_MAY_LAYOUT (1ULL<<47)>>)

This feature determine whether we use tbl encode for transaction of use
the new map layout.

The primary uses peer_features to determine whether transaction should
use tbl, while the replica just follow the primary.

Change-Id: I92ca6e5b59bd1acde6007ad0dffc085be17accab
Signed-off-by: Dong Yuan <yuandong1222@gmail.com>
src/include/ceph_features.h
src/os/ObjectStore.h
src/osd/ECBackend.cc
src/osd/PGBackend.h
src/osd/ReplicatedBackend.cc
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h