Actions
Bug #19623
closedrgw_file: introduce rgw_lookup type hints
% 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.
Actions