]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: ensure aio_write buffer isn't invalidated during image import
authorJason Dillaman <dillaman@redhat.com>
Wed, 21 Jan 2015 19:55:02 +0000 (14:55 -0500)
committerJosh Durgin <jdurgin@redhat.com>
Wed, 21 Jan 2015 20:23:16 +0000 (12:23 -0800)
commit4d3b49e9d62bc1040356ca3ebe7f90c181734eb6
tree6317976c870255ae04dcd986760b61ef2ce0ffb8
parent3487683321b158becd776082344adafda432378c
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>
src/rbd.cc