Project

General

Profile

Actions

Bug #46302

closed

mds: optimize ephemeral rand pin

Added by Zheng Yan almost 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
% 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


Related issues 2 (0 open2 closed)

Related to CephFS - Feature #41302: mds: add ephemeral random and distributed export pinsResolvedSidharth Anupkrishnan

Actions
Copied to CephFS - Backport #46637: octopus: mds: optimize ephemeral rand pinResolvedWei-Chung ChengActions
Actions

Also available in: Atom PDF