CInode itself combined the on-disk format and
encode/decode logic with lots of other complex
behaviours. This separates the simple parts
out so that they can be used by other tools that
are interested in looking at inodes outside of
a running MDS.
There is a small overhead because CInodeStore
can't decode a SnapRealm inline, so it keeps
a temporary copy of the encoded bufferlist.
Signed-off-by: John Spray <john.spray@inktank.com>