ceph_filestore_dump: Remove unused bufferlist databl

Signed-off-by: David Zafman <david.zafman@inktank.com>
ceph_filestore_dump: Export omap in batches for large omap case

New function get_omap_batch()
Create a TYPE_OMAP section for each batch

Signed-off-by: David Zafman <david.zafman@inktank.com>
common: Utilities suppress library dout output unless using ...UTILITY_DEBUG

Suppress dout output with CODE_ENVIRONMENT_UTILITY
Adding CODE_ENVIRONMENT_UTILITY_DEBUG to enable dout

Signed-off-by: David Zafman <david.zafman@inktank.com>
ceph_filestore_dump: Use cerr now that we aren't closing stderr

Signed-off-by: David Zafman <david.zafman@inktank.com>
os: Add backdoor to skip journal replay and omap mount on fs mount

Signed-off-by: David Zafman <david.zafman@inktank.com>
ceph_filestore_dump: Add --skip-journal-replay and --skip-mount-omap

Fixes: #8231

Signed-off-by: David Zafman <david.zafman@inktank.com>
common: Add missing ghobject_t::decode() for json

Signed-off-by: David Zafman <david.zafman@inktank.com>
Add --type list to output objects in a pg in json
ceph_filestore_dump: Add remove object command and usage for new commands

Signed-off-by: David Zafman <david.zafman@inktank.com>
ceph_filestore_dump: Add list-attrs object command

Signed-off-by: David Zafman <david.zafman@inktank.com>
ceph_filestore_dump: Add list-omap object command

Signed-off-by: David Zafman <david.zafman@inktank.com>
ceph_filestore_dump: Add get-bytes object command

Signed-off-by: David Zafman <david.zafman@inktank.com>
ceph_filestore_dump: Add set-bytes object command

Signed-off-by: David Zafman <david.zafman@inktank.com>