]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: simplify and fix blob invalidation 9921/head
authorSage Weil <sage@redhat.com>
Fri, 24 Jun 2016 12:56:44 +0000 (08:56 -0400)
committerSage Weil <sage@redhat.com>
Fri, 24 Jun 2016 12:57:10 +0000 (08:57 -0400)
commit045829d7dcb919ac8ecbc3d3d26dfd5df593d779
tree8fd6eb9cee1930f2baf864dac0a98831771ae46e
parent274820da08be83c6398005c46b15a98a1b47b5ee
os/bluestore: simplify and fix blob invalidation

We can't invalidate based on any particular lextent we drop, as there may
be other lextents (in this onode or in another one) that reference the
same data.  This can break even a single multi-write transaction that
relies on the buffer cache to fill out blocks.

Fix by just doing the unallocated version unconditionally.

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