Project

General

Profile

Actions

Bug #42225

closed

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 over 4 years ago. Updated over 4 years 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 (v1):
Crash signature (v2):

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

Actions #1

Updated by Prashant D over 4 years ago

  • Description updated (diff)
Actions #2

Updated by Prashant D over 4 years ago

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

Actions #3

Updated by Greg Farnum over 4 years ago

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

Updated by Prashant D over 4 years ago

  • Status changed from New to Fix Under Review
Actions #5

Updated by Kefu Chai over 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF