Project

General

Profile

Bug #19623

rgw_file: introduce rgw_lookup type hints

Added by Matt Benjamin about 2 months ago. Updated about 1 month ago.

Status:
Pending Backport
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 Backport #19722: jewel: rgw_file: introduce rgw_lookup type hints New
Copied to Backport #19723: kraken: rgw_file: introduce rgw_lookup type hints New

History

#1 Updated by Matt Benjamin about 1 month ago

  • Status changed from New to Pending Backport

#2 Updated by Nathan Cutler about 1 month ago

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

#3 Updated by Nathan Cutler about 1 month ago

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

Also available in: Atom PDF