]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: make tail cache a bit smarter
authorSage Weil <sage@redhat.com>
Mon, 16 May 2016 00:30:44 +0000 (20:30 -0400)
committerSage Weil <sage@redhat.com>
Wed, 1 Jun 2016 15:38:49 +0000 (11:38 -0400)
commit8f0414b60cfd0dff0872e61b1a63eaa4f590d3c0
tree26298b60b3a73870bcace707e9b9cc0bfbf46a8c
parent977881adb65c2435036c0fbfa46a4d55d11fec3f
os/bluestore: make tail cache a bit smarter

This is really a stop-gap.  Since we are doing reads in the pre-commit
write path, we need to have some sort of buffer cache so that a sequence
of writes in the same transaction can remain coherent (the second write
must "read" the first write in order to fill out the chunk).

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