]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/aio: handle short return from io_submit 17352/head
authorSage Weil <sage@redhat.com>
Thu, 7 Sep 2017 20:28:59 +0000 (16:28 -0400)
committerSage Weil <sage@redhat.com>
Thu, 7 Sep 2017 20:28:59 +0000 (16:28 -0400)
commitdc17dfd9ff05b5676488c2b1bca53026b2ca6244
tree17e959f2b24f0b05024b249df7193f59880bfad6
parent11ac691dcc86aeed4ccb692a79ade4be04c5ef2f
os/bluestore/aio: handle short return from io_submit

io_submit may return a value less than nr, indicating that only some of
the provided iocbs were queued.  If that happens we should loop, not
return and silently drop those aios on the floor.

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