]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: only use aio for read if there are >1 blobs 13066/head
authorSage Weil <sage@redhat.com>
Tue, 24 Jan 2017 14:42:24 +0000 (09:42 -0500)
committerSage Weil <sage@redhat.com>
Fri, 27 Jan 2017 15:27:04 +0000 (10:27 -0500)
commit73f5d2b73f576deabab9baa65e176d8d5bda2600
tree8cd56acc53b75084ff0eb18b79cc9c1fd78d8912
parentaca26825dd2d0d85ae463d3593b57a2aadc6e663
os/bluestore: only use aio for read if there are >1 blobs

If we have a single blob to read it is not worth the context switch.

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