]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/BlockDevice: allow sync read to accumulate on bl
authorSage Weil <sage@redhat.com>
Tue, 24 Jan 2017 16:11:49 +0000 (11:11 -0500)
committerSage Weil <sage@redhat.com>
Fri, 27 Jan 2017 15:27:04 +0000 (10:27 -0500)
commitaca26825dd2d0d85ae463d3593b57a2aadc6e663
treebf4dea5e657d9c662e536d5a4da96c1585986a5a
parent9602a34525868143e0318014c46d46b529ac7bec
os/bluestore/BlockDevice: allow sync read to accumulate on bl

Do not clear the target bl; instead, append to it.  This makes our
behavior consistent with aio_read, which does the same.

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