]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: keep onode refs for lifetime of obc
authorSage Weil <sage@redhat.com>
Sat, 11 Mar 2017 19:30:53 +0000 (14:30 -0500)
committerSage Weil <sage@redhat.com>
Tue, 21 Mar 2017 18:56:28 +0000 (13:56 -0500)
commit9b28d615e77f002a38ac84458bd7fb1acac4d86d
treed7c84aabad3915a092aec1a926ed80113f1229f0
parent4aa44d2b490450dc77d0ebd3bc6b87dd3278e386
os/bluestore: keep onode refs for lifetime of obc

This ensures that we don't trim an onode from the cache while it has a
txc that is still in flight.  Which in turn ensures that if we try to read
the object, we will have any writing buffers available.

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