Project

General

Profile

Actions

Bug #8696

closed

mon: 'osd pool set' must take into account pool's nature when setting some variables

Added by Joao Eduardo Luis almost 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Joao Eduardo Luis
Category:
Monitor
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Dumpling, Firefly
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

There's no logic currently in place to disallow users from setting some variables on any pool regardless of the nature's pool.

Variables such as 'cache_target_dirty_ratio', 'cache_target_full_ratio', 'cache_mon_flush_age' and 'cache_min_evict_age' should be limited to those pools that actually need them. Same when getting their values.

There may be a few more, which I'm not currently aware of their purpose (e.g., 'target_max_bytes' and 'target_max_objects'), that may also fall under the subset of variables that are to be disallowed depending on the pool's nature.

Actions #1

Updated by Joao Eduardo Luis almost 10 years ago

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

Updated by Sage Weil almost 10 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Ian Colle over 9 years ago

  • Backport set to Dumpling, Firefly
Actions #4

Updated by Sage Weil over 9 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF