Project

General

Profile

Bug #42225

target_max_bytes and target_max_objects should accept values in [M,G,T]iB and M, G, T units respectively

Added by Prashant D 6 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature:

Description

1. To flush or evict at 1 TB, we execute the following:

# ceph osd pool hot-storage target_max_bytes 1000000000000

Similarly, user should be allowed to specify target_max_bytes as 1T

# ceph osd pool hot-storage target_max_bytes 1T

2. To flush or evict at 1M objects, we execute the following:

# ceph osd pool set hot-storage target_max_objects 1000000

Similarly, user should be allowed to specify target_max_objects as 1M

# ceph osd pool set hot-storage target_max_objects 1M

History

#1 Updated by Prashant D 6 months ago

  • Description updated (diff)

#2 Updated by Prashant D 6 months ago

I will open PR for this tracker once PR#30701 gets merged.

#3 Updated by Greg Farnum 6 months ago

  • Project changed from Ceph to RADOS
  • Category deleted (OSD)

#4 Updated by Prashant D 6 months ago

  • Status changed from New to Fix Under Review

#5 Updated by Kefu Chai 6 months ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF