]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: drain pending requests before completing write
authorYehuda Sadeh <yehuda@inktank.com>
Tue, 10 Sep 2013 19:18:55 +0000 (12:18 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Wed, 18 Sep 2013 18:41:58 +0000 (11:41 -0700)
commitbbfbb097e2f9efbf4f7ec997c70befa20c79d27c
tree0676e5f9438dfbfbad21a6a7a462e03415945e30
parentb16f812362ccb1d9bdd4900d155e248d695ef0d7
rgw: drain pending requests before completing write

Fixes: #6268
When doing aio write of objects (either regular or multipart parts) we
need to drain pending aio requests. Otherwise if gateway goes down then
object might end up corrupted.

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_op.cc