]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: handle possible aio_read return error code
authorJason Dillaman <dillaman@redhat.com>
Mon, 2 Mar 2015 13:13:55 +0000 (08:13 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 3 Mar 2015 02:18:39 +0000 (21:18 -0500)
commit1bfd760898dfe97f95333eeef94bb9111dfed4a3
tree26f9ea2828ba308ccfccddec5fe9860fcb6f1277
parentfb2caa0141f4dfc387f024f8709794112b1a3ee0
librbd: handle possible aio_read return error code

AioRead and CopyupRequest were not properly handling possible
error codes from aio_read.  They now correctly free the completion
and invoke the callback context.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/AioRequest.cc
src/librbd/CopyupRequest.cc