]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: fix off-by-one on caching tail block
authorSage Weil <sage@redhat.com>
Thu, 17 Mar 2016 21:33:53 +0000 (17:33 -0400)
committerSage Weil <sage@redhat.com>
Wed, 30 Mar 2016 15:23:14 +0000 (11:23 -0400)
commit95a5f560936fea2e6421065001a02c87ebf9019c
treeca380b0032f3190670d8d745ab113410ac692869
parentc1b42e99b9a8f562ed940b611ede30fad9dd63e4
os/bluestore: fix off-by-one on caching tail block

We can cache the tail as long as we overwrite all prior content;
we don't have to extent the size.

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