Project

General

Profile

Actions

Cleanup #435

closed

osd: generalize coll_t to a string

Added by Sage Weil over 13 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
OSD
Target version:
-
% Done:

100%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

This will make the ObjectStore interface a bit less constrained and cumbersome.


Related issues 1 (0 open1 closed)

Blocks Ceph - Feature #169: osd: start up despite corrupted pg log(s)Resolved06/02/2010

Actions
Actions #1

Updated by Sage Weil over 13 years ago

  • Assignee set to Colin McCabe
Actions #2

Updated by Colin McCabe over 13 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Implemented in commit a4138c905053cf79a03b50fa766c08ad718b8c58

Actions #3

Updated by Sage Weil over 13 years ago

One small optimization we can make here is to make a coll_t member of PG, so that we don't construct a new one for every operation in every transaction. The PG's info.pgid never changes.

Actions #4

Updated by Colin McCabe over 13 years ago

One small optimization we can make here is to make a coll_t member of PG,
so that we don't construct a new one for every operation in every
transaction. The PG's info.pgid never changes.

Good call, implemented.

Actions

Also available in: Atom PDF