]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: clear extent map on object removal 11603/head
authorSage Weil <sage@redhat.com>
Fri, 21 Oct 2016 19:42:19 +0000 (15:42 -0400)
committerSage Weil <sage@redhat.com>
Fri, 21 Oct 2016 19:42:28 +0000 (15:42 -0400)
commit5ab57dfee6372378a5378b6fa9874515d01eb3d6
treefb2552203c43df3872c2cc5eb5f48e29044e2b57
parentc86206032f49eb8a8ad2b2d545a2806557574dde
os/bluestore: clear extent map on object removal

Clear ExtentMap (esp shards, etc.) when an object is removed.  Otherwise
if we recreate it we will have stale state (like the shards vector or
inline_bl) that are bogus.

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h