Actions
Feature #2727
closedfilestore: add split
Status:
Resolved
Priority:
High
Assignee:
-
Category:
OSD
Target version:
-
% Done:
0%
Source:
Tags:
CY2012
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
Add split functionality to filestore. The existing collection structure should be already in place.
Interface could be something like:
split(coll_t from, SplitFilter filter);
where
class SplitFilter {
/**
* filter(filestore_key, bits, &coll) returns true iff
* forall hobject x, y in from: (x.filestore_key & (1<<bits)) (y.filestore_key & (1<<bits) filestore_key)
* => x, y should move to *coll.
*/
virtual bool operator()(uint32_t filestore_key, int bits, coll_t *out_coll);
}
Updated by Samuel Just almost 12 years ago
On second thought, that would be hard to encode into a transaction, it'll probably just take a
[(hash_prefix, bits, coll_t)]
to define the movements.
Updated by Sage Weil almost 12 years ago
- Translation missing: en.field_position set to 131
Updated by Sage Weil almost 12 years ago
- Translation missing: en.field_position deleted (
131) - Translation missing: en.field_position set to 130
Updated by Sage Weil over 11 years ago
- Translation missing: en.field_position deleted (
139) - Translation missing: en.field_position set to 9
Updated by Anonymous over 11 years ago
- Priority changed from Normal to High
- Tags set to CY2012
Updated by Sage Weil over 11 years ago
- Translation missing: en.field_story_points set to 5
- Translation missing: en.field_position deleted (
47) - Translation missing: en.field_position set to 46
Updated by Sage Weil over 11 years ago
- Target version set to v0.53c
- Translation missing: en.field_position deleted (
54) - Translation missing: en.field_position set to 3
Updated by Sage Weil over 11 years ago
- Target version changed from v0.53c to v0.54a
- Translation missing: en.field_position deleted (
19) - Translation missing: en.field_position set to 1406
Updated by Sage Weil over 11 years ago
- Target version changed from v0.54a to v0.54b
- Translation missing: en.field_position deleted (
1411) - Translation missing: en.field_position set to 1
Updated by Sage Weil over 11 years ago
- Target version changed from v0.54b to v0.55a
- Translation missing: en.field_position deleted (
13) - Translation missing: en.field_position set to 5
Updated by Sage Weil over 11 years ago
- Target version deleted (
v0.55a) - Translation missing: en.field_position deleted (
5) - Translation missing: en.field_position set to 1
Updated by Dan Mick over 11 years ago
- Translation missing: en.field_position deleted (
16) - Translation missing: en.field_position set to 12
Actions