Bug #46302
mds: optimize ephemeral rand pin
% Done:
0%
Source:
Development
Tags:
Backport:
octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
there can be two optimization
1. get_ephemeral_rand() is called for each loaded inode of dirfrag fetch. all calls get the same result. We only need to call get_ephemeral_rand() once for a dirfrag fetch
2. skip generate random number of threshold is 0
Related issues
History
#2 Updated by Patrick Donnelly 7 months ago
- Target version set to v16.0.0
- Source set to Development
- Backport set to octopus
- Component(FS) MDS added
#3 Updated by Patrick Donnelly 7 months ago
- Related to Feature #41302: mds: add ephemeral random and distributed export pins added
#4 Updated by Patrick Donnelly 7 months ago
- Status changed from New to Fix Under Review
- Pull request ID set to 35969
#5 Updated by Patrick Donnelly 6 months ago
- Status changed from Fix Under Review to Pending Backport
#6 Updated by Nathan Cutler 6 months ago
- Copied to Backport #46637: octopus: mds: optimize ephemeral rand pin added
#7 Updated by Nathan Cutler 3 months ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".