]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Add get_*_with_header to StripObjectHeader
authorHaomai Wang <haomaiwang@gmail.com>
Thu, 20 Feb 2014 03:43:16 +0000 (11:43 +0800)
committerHaomai Wang <haomaiwang@gmail.com>
Sat, 22 Feb 2014 13:04:59 +0000 (21:04 +0800)
commitd7be540488af7771765a99c773de5e83869f131e
tree932e9212dda521a5dbdd380f4f8c8933d9c37710
parentc9fdceeef1c5897b357574b926f8700f09e00394
Add get_*_with_header to StripObjectHeader

In some situations, we need to ensure header is held and try to read, so read
interfaces need to accept header argument to allow.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
src/os/GenericObjectMap.h
src/os/KeyValueStore.cc
src/os/KeyValueStore.h