Feature #1480
closedlibrbd: image locking
0%
Description
Implement cooperative locking of RBD images (coordinated on the header, of course). Write public class functions to support both exclusive and shared locking, to list lock holders, and to let third parties remove locks. Then implement corresponding librbd functions, and write tests for the new functionality.
Support having multiple locks from the same entity (ie, multiple VMs on the same KVM host) by storing lockers as both the entity and a request-defined cookie.
Updated by Sage Weil over 12 years ago
- Target version deleted (
v0.38) - Translation missing: en.field_position set to 43
Updated by Sage Weil over 12 years ago
- Translation missing: en.field_position deleted (
54) - Translation missing: en.field_position set to 36
Updated by Sage Weil almost 12 years ago
- Translation missing: en.field_position deleted (
364) - Translation missing: en.field_position set to 20
Updated by Sage Weil almost 12 years ago
- Subject changed from rbd: EBUSY locking to rbd: image locking
- Translation missing: en.field_position deleted (
20) - Translation missing: en.field_position set to 20
Updated by Sage Weil almost 12 years ago
lock(entity)
unlock(entity)
new code should lock before open, unlock on close.
the rbd map tool have 'lock list', 'lock add', 'lock break' commands (maybe better verbs tho?).
a paranoid user can blacklist a node they are breaking the lock for before breaking it, to ensure they don't corrupt the image.
Updated by Sage Weil almost 12 years ago
- Translation missing: en.field_position deleted (
21) - Translation missing: en.field_position set to 9
Updated by Sage Weil almost 12 years ago
- Target version set to v0.49
- Translation missing: en.field_position deleted (
29) - Translation missing: en.field_position set to 1313
Updated by Sage Weil almost 12 years ago
- Translation missing: en.field_story_points set to 5
- Translation missing: en.field_position deleted (
1313) - Translation missing: en.field_position set to 1313
Updated by Sage Weil almost 12 years ago
- Target version deleted (
v0.49) - Translation missing: en.field_position deleted (
1314) - Translation missing: en.field_position set to 2
Updated by Sage Weil almost 12 years ago
- Target version set to v0.49
- Translation missing: en.field_position deleted (
3) - Translation missing: en.field_position set to 1316
Updated by Sage Weil almost 12 years ago
- Subject changed from rbd: image locking to librbd: image locking
- Translation missing: en.field_position deleted (
1316) - Translation missing: en.field_position set to 1316
Updated by Greg Farnum almost 12 years ago
- Status changed from New to Fix Under Review
wip-rbd-locking
Updated by Greg Farnum almost 12 years ago
And after thorough review from Josh, this should be ready for merge (commit:5b1b02b60a253092700f364dca77bb6b1065e3e0). But I'm holding off because I don't know if we want to set up a plan for rbd merges this sprint.
Updated by Greg Farnum almost 12 years ago
- Status changed from Fix Under Review to Resolved
Okay, discussed and merged in commit:dac9f223598c5f67b228403e514f202280d56488
Updated by Sage Weil almost 12 years ago
- Project changed from Ceph to rbd
- Category deleted (
librbd)