]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: switch to lock-free queue for event poll IO interface
authorJason Dillaman <dillaman@redhat.com>
Tue, 6 Mar 2018 19:23:47 +0000 (14:23 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 2 May 2019 13:30:45 +0000 (09:30 -0400)
commitef9d74720f2e8ba3146774e75f60fed815a3c9de
treee7f870820c9b435526614045198df1e1ea36cc29
parent002afa0fe37544ab4eb15f973e00068e1240c0ef
librbd: switch to lock-free queue for event poll IO interface

'perf' shows several percent of CPU being wasted on lock contention
in the event poll interface. The 'fio' RBD engine uses this poll
IO interface by default when available.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/ImageCtx.cc
src/librbd/ImageCtx.h
src/librbd/internal.cc
src/librbd/io/AioCompletion.cc
src/librbd/io/AioCompletion.h