]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osdc/ObjectCacher: add ZERO bufferheads from map_read()
authorSage Weil <sage@inktank.com>
Fri, 26 Oct 2012 18:54:50 +0000 (11:54 -0700)
committerSage Weil <sage@inktank.com>
Fri, 26 Oct 2012 18:56:05 +0000 (11:56 -0700)
commit94a84d29086f48a742ce0545c705f0e2554dd00d
tree1c95258b42e64086181beb7b61bbf03f5f7c81c3
parentfde7fe6840f2426daa1498f76b5ae62ef0076b05
osdc/ObjectCacher: add ZERO bufferheads from map_read()

When we add a bufferhead with zeros to the Object data map, use the new
zero type instead of allocating actual zeros.

Signed-off-by: Sage Weil <sage@inktank.com>
src/osdc/ObjectCacher.cc
src/osdc/ObjectCacher.h