]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: ensure aio_write buffer isn't invalidated during image import 3443/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 21 Jan 2015 19:55:02 +0000 (14:55 -0500)
committerJason Dillaman <dillaman@redhat.com>
Wed, 21 Jan 2015 20:28:16 +0000 (15:28 -0500)
commit14cdb9bb6d27f2017a3a8e6c1f274b9f40fb7456
tree65ca54206af5fd48054b4f0d3f3db37d4b1dea8d
parent4c8a5cedcb7942e1e01ab4cedfbf03e4c56cc1e4
rbd: ensure aio_write buffer isn't invalidated during image import

The buffer provided to aio_write shouldn't be invalidated until
after aio_write has indicated that the operation has completed.

Fixes: #10590
Backport: giant
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
(cherry picked from commit 4d3b49e9d62bc1040356ca3ebe7f90c181734eb6)
src/rbd.cc