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

Also available in: Atom PDF