Actions
Bug #46302
closedmds: optimize ephemeral rand pin
% Done:
0%
Source:
Development
Tags:
Backport:
octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
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
Actions