Project

General

Profile

Bug #46302

mds: optimize ephemeral rand pin

Added by Zheng Yan about 1 month ago. Updated 22 days ago.

Status:
Pending Backport
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:

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

Related to fs - Feature #41302: mds: add ephemeral random and distributed export pins Resolved
Copied to fs - Backport #46637: octopus: mds: optimize ephemeral rand pin New

History

#1 Updated by Zheng Yan about 1 month ago

  • Project changed from Linux kernel client to fs

#2 Updated by Patrick Donnelly about 1 month 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 about 1 month ago

  • Related to Feature #41302: mds: add ephemeral random and distributed export pins added

#4 Updated by Patrick Donnelly about 1 month ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 35969

#5 Updated by Patrick Donnelly 22 days ago

  • Status changed from Fix Under Review to Pending Backport

#6 Updated by Nathan Cutler 19 days ago

  • Copied to Backport #46637: octopus: mds: optimize ephemeral rand pin added

Also available in: Atom PDF