]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw : Issue AIO for next chunk first before flush the (cached) data. 4505/head
authorGuang Yang <yguang@yahoo-inc.com>
Fri, 3 Apr 2015 12:27:04 +0000 (12:27 +0000)
committerLoic Dachary <ldachary@redhat.com>
Wed, 29 Apr 2015 19:04:09 +0000 (21:04 +0200)
commit379ef714f7149a748891dafd41db80c247d35975
tree8a4e7f971bb6f18e5b8f37adebcb7926396c5f81
parent74c2dc1f3924fa05e2c40f4cceb2ab060493bdfb
rgw : Issue AIO for next chunk first before flush the (cached) data.

When handling GET request for large object (with multiple chunks), currently it will first flush the
cached data, and then issue AIO request for next chunk, this has the potential issue to make the retriving
from OSD and sending to client serialized. This patch switch the two operations.

Fixes: 11322
Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
(cherry picked from commit 366e8a85c0e9f00eed364eaebbfb6b672852eae9)
src/rgw/rgw_rados.cc