]> 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. 4268/head
authorGuang Yang <yguang@yahoo-inc.com>
Fri, 3 Apr 2015 12:27:04 +0000 (12:27 +0000)
committerGuang Yang <yguang@yahoo-inc.com>
Fri, 3 Apr 2015 12:27:04 +0000 (12:27 +0000)
commit366e8a85c0e9f00eed364eaebbfb6b672852eae9
treef5f497d9c5e6eac2ecda8b2a30eb522010dc4d4c
parentacfbc152c89300571056cd692925342111414202
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>
src/rgw/rgw_rados.cc