Project

General

Profile

Bug #46302

mds: optimize ephemeral rand pin

Added by Zheng Yan 4 months ago. Updated 4 days 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:

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 Resolved

History

#1 Updated by Zheng Yan 4 months ago

  • Project changed from Linux kernel client to fs

#2 Updated by Patrick Donnelly 4 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 4 months ago

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

#4 Updated by Patrick Donnelly 4 months ago

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

#5 Updated by Patrick Donnelly 3 months ago

  • Status changed from Fix Under Review to Pending Backport

#6 Updated by Nathan Cutler 3 months ago

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

#7 Updated by Nathan Cutler 4 days 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".

Also available in: Atom PDF