Feature #12539
skip prefetch first chunk if range get falls to shadow objects
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
Description
Currently the head object will be prefetched in each GET. This is unnecessary if the Range GET falls to shadow object and the GET request would be quite slow if we have a big head object.
Associated revisions
rgw: skip prefetch first chunk if range get falls to shadow objects
Currently the head object will be prefetched in each GET:
a) This is unnecessary if the Range GET falls to shadow objects.
b) The GET request would be quite slow if we have a big head object
This patch adds some check on the Range. If it's not in the head
object(>=rgw_max_chunk_size) then skip the prefetch.
Fixes: #12539
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
History
#1 Updated by Yuan Zhou about 8 years ago
#2 Updated by Abhishek Lekshmanan about 7 years ago
- Status changed from New to Resolved