Project

General

Profile

Feature #6923

OSDMonitor: maintain pool->OSD and OSD->pool mappings

Added by Greg Farnum over 5 years ago. Updated 8 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
12/02/2013
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Component(RADOS):
Monitor
Pull request ID:

Description

It would be nice if the monitor had explicit mappings from OSDs->pools and back again. You can work this out by iterating through the PG map if necessary, but that's error prone and doesn't scale well for doing dynamic queries.

The immediate use case is quickly determining how many OSDs would be involved in increasing the pg_num of a pool (#6922), but I think having it easily available would quickly result in other use cases like monitoring.

History

#1 Updated by Greg Farnum over 5 years ago

  • Target version deleted (v0.73)

#2 Updated by Patrick Donnelly 8 months ago

  • Project changed from Ceph to RADOS
  • Category deleted (Monitor)
  • Component(RADOS) Monitor added

Also available in: Atom PDF