Project

General

Profile

Bug #19623

rgw_file: introduce rgw_lookup type hints

Added by Matt Benjamin almost 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
jewel kraken
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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 almost 7 years ago

  • Status changed from New to Pending Backport

#2 Updated by Nathan Cutler almost 7 years ago

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

#3 Updated by Nathan Cutler almost 7 years ago

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

#4 Updated by Nathan Cutler over 6 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF