]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/KernelDevice: aio_wake/wait and completion callback are exclusive
authorSage Weil <sage@redhat.com>
Wed, 3 May 2017 22:47:09 +0000 (17:47 -0500)
committerSage Weil <sage@redhat.com>
Wed, 3 May 2017 22:57:29 +0000 (17:57 -0500)
commit88430763421456a5309b3918c24f6189924f8778
treefb77c170f6b2daad29a1752f49f32146c7b2dc4e
parentc124b05e91878e75da7b1bb624ef871a0f6ac6dc
os/bluestore/KernelDevice: aio_wake/wait and completion callback are exclusive

Codify that these are exclusive.  This means we don't waste time on
aio_wake in the common case of ioc's with callbacks.

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