Project

General

Profile

Bug #19623

rgw_file: introduce rgw_lookup type hints

Added by Matt Benjamin 7 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
04/13/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
jewel kraken
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

Description

When rgw_lookup is called with prior information from a prior rgw_readdir callback, the caller knows the type of the object being looked up (file or directory). Hinting this information to rgw_lookup would allow the lookup path to short-circuit checks for the disjoint directory and file name forms, reducing latency and network round-trips.


Related issues

Copied to rgw - Backport #19722: jewel: rgw_file: introduce rgw_lookup type hints Resolved
Copied to rgw - Backport #19723: kraken: rgw_file: introduce rgw_lookup type hints Resolved

History

#1 Updated by Matt Benjamin 7 months ago

  • Status changed from New to Pending Backport

#2 Updated by Nathan Cutler 7 months ago

  • Copied to Backport #19722: jewel: rgw_file: introduce rgw_lookup type hints added

#3 Updated by Nathan Cutler 7 months ago

  • Copied to Backport #19723: kraken: rgw_file: introduce rgw_lookup type hints added

#4 Updated by Nathan Cutler 4 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF