]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
encoding: instrument to dump encoded objects
authorSage Weil <sage.weil@dreamhost.com>
Tue, 10 Jan 2012 21:36:05 +0000 (13:36 -0800)
committerSage Weil <sage.weil@dreamhost.com>
Mon, 23 Jan 2012 04:36:16 +0000 (20:36 -0800)
commita7106421a75077abd263cb41af5629ef31f42719
tree0a793bdfa8787674699af2d15fc9e24ba54f11d0
parentaea6a305e61c1fa54828b71eff29070c3ff98cc9
encoding: instrument to dump encoded objects

If built with -DENCODE_DUMP=path, dump encoded copies of objects to that
directory.  Limit the copies of each class we dump by only dumping the
Nth encoding when N is a power of two.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/include/encoding.h