Project

General

Profile

Fix #47931

Directory quota optimization

Added by xi chen 6 months ago. Updated 3 months ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
pacific,octopus,nautilus
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

If the directory is set to a quota of 100G, after 80G of data is written to the directory, when the directory is re-quoted again, the size is allocated to 50G, and the current version can be adjusted at will. My optimization prompts an error when setting this situation, and it is not allowed to adjust the quota below the used capacity; if you want to re-quota, the quota size should be greater than or equal to the used capacity of the current directory. The file quota also has the same problem.

History

#1 Updated by Patrick Donnelly 4 months ago

  • Tracker changed from Feature to Fix
  • Project changed from bluestore to CephFS
  • Status changed from New to Fix Under Review
  • Target version set to v16.0.0
  • Source set to Community (dev)
  • Pull request ID set to 38235
  • Component(FS) Client added

#2 Updated by Patrick Donnelly 3 months ago

  • Target version changed from v16.0.0 to v17.0.0
  • Backport set to pacific,octopus,nautilus

Also available in: Atom PDF