Project

General

Profile

Feature #21571

mds: limit number of snapshots (global and subtree)

Added by Zheng Yan almost 3 years ago. Updated 6 months ago.

Status:
Duplicate
Priority:
High
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
MDS
Labels (FS):
snapshots
Pull request ID:

Description

when there are hundreds of snapshots, metadata operations become slow. Besides, lots of snapshots can cause kernel panic because snap context can not be encoded in osd request buffer.


Related issues

Related to fs - Feature #41209: mds: create a configurable snapshot limit Resolved
Duplicated by fs - Feature #24429: fs: implement snapshot count limit by subtree Duplicate 06/05/2018

History

#1 Updated by Zheng Yan almost 3 years ago

  • Tracker changed from Bug to Feature

#2 Updated by Patrick Donnelly over 2 years ago

  • Tracker changed from Feature to Bug
  • Subject changed from limit number of snapshots to mds: limit number of snapshots
  • Assignee set to Zheng Yan
  • Priority changed from Normal to High
  • Target version set to v14.0.0
  • Source set to Development
  • Backport set to mimic
  • Regression set to No
  • Severity set to 3 - minor
  • Component(FS) MDS added
  • Labels (FS) snapshots added

#3 Updated by Patrick Donnelly over 2 years ago

  • Duplicated by Feature #24429: fs: implement snapshot count limit by subtree added

#4 Updated by Patrick Donnelly over 2 years ago

  • Tracker changed from Bug to Feature
  • Subject changed from mds: limit number of snapshots to mds: limit number of snapshots (global and subtree)

There should be a global limit (if necessary for performance) and subtree limits (from #24429) so that operators can limit users.

#5 Updated by Patrick Donnelly over 1 year ago

  • Target version changed from v14.0.0 to v15.0.0

#6 Updated by Patrick Donnelly over 1 year ago

  • Start date deleted (09/27/2017)
  • Backport deleted (mimic)

#7 Updated by Patrick Donnelly 11 months ago

  • Status changed from New to Duplicate

#8 Updated by Patrick Donnelly 11 months ago

  • Status changed from Duplicate to Need More Info

Zheng, looking at #41209: do we need a snapshot limit by subtree or is a directory limit via config sufficient?

#9 Updated by Patrick Donnelly 11 months ago

  • Related to Feature #41209: mds: create a configurable snapshot limit added

#10 Updated by Patrick Donnelly 8 months ago

  • Target version deleted (v15.0.0)

#11 Updated by Zheng Yan 6 months ago

  • Status changed from Need More Info to Duplicate

Also available in: Atom PDF