]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
tools/ceph-dencoder: split types.h into smaller pieces
authorKefu Chai <kchai@redhat.com>
Fri, 31 May 2019 18:35:16 +0000 (02:35 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 1 Jun 2019 15:12:16 +0000 (23:12 +0800)
commiteaaec3d3193795822fb220e65a4d18b800d1b95f
treee1ae534f28e8bd24e09cf5597dd94463ae248166
parentf6b022bdbec3e323e48cfd8197b8de6da471b0a6
tools/ceph-dencoder: split types.h into smaller pieces

instead of putting all types in a single compilation unit, split them
into smaller groups, in hope to reduce the memory footprint of compiler
when compiling ceph_dencoder.cc.

sometimes, GCC just fails to compile this source file.

Fixes: http://tracker.ceph.com/issues/39595
Signed-off-by: Kefu Chai <kchai@redhat.com>
15 files changed:
src/tools/ceph-dencoder/CMakeLists.txt
src/tools/ceph-dencoder/ceph_dencoder.cc
src/tools/ceph-dencoder/common_types.cc [new file with mode: 0644]
src/tools/ceph-dencoder/common_types.h [new file with mode: 0644]
src/tools/ceph-dencoder/denc_registry.cc [new file with mode: 0644]
src/tools/ceph-dencoder/denc_registry.h [new file with mode: 0644]
src/tools/ceph-dencoder/mds_types.cc [new file with mode: 0644]
src/tools/ceph-dencoder/mds_types.h [new file with mode: 0644]
src/tools/ceph-dencoder/osd_types.cc [new file with mode: 0644]
src/tools/ceph-dencoder/osd_types.h [new file with mode: 0644]
src/tools/ceph-dencoder/rbd_types.cc [new file with mode: 0644]
src/tools/ceph-dencoder/rbd_types.h [new file with mode: 0644]
src/tools/ceph-dencoder/rgw_types.cc [new file with mode: 0644]
src/tools/ceph-dencoder/rgw_types.h [new file with mode: 0644]
src/tools/ceph-dencoder/types.h [deleted file]