Project

General

Profile

Feature #21571

mds: limit number of snapshots (global and subtree)

Added by Zheng Yan about 2 years ago. Updated about 1 month ago.

Status:
Need More Info
Priority:
High
Assignee:
Category:
-
Target version:
Start date:
Due date:
% 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 Pending Backport
Duplicated by fs - Feature #24429: fs: implement snapshot count limit by subtree Duplicate 06/05/2018

History

#1 Updated by Zheng Yan about 2 years ago

  • Tracker changed from Bug to Feature

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

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

#4 Updated by Patrick Donnelly over 1 year 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 8 months ago

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

#6 Updated by Patrick Donnelly 5 months ago

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

#7 Updated by Patrick Donnelly about 1 month ago

  • Status changed from New to Duplicate

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

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

Also available in: Atom PDF