Feature #3540
closed
mds: maintain per-file backpointers on first file object
Added by Sage Weil over 11 years ago.
Updated about 11 years ago.
Description
Add backtraces to each file object, as described at http://www.spinics.net/lists/ceph-devel/msg11872.html. This ticket includes the MDS asynchronously updating backtraces on creates and renames, as well as the "sentinel object" infrastructure, but not the lookup infrastructure.
For this initial implementation, the MDS should add the backtrace on file create (so we end up with a sentinel for all objects whose pool gets changed).
- Translation missing: en.field_position deleted (
1)
- Translation missing: en.field_position set to 15
- Translation missing: en.field_story_points set to 13
- Translation missing: en.field_position deleted (
16)
- Translation missing: en.field_position set to 16
Do we have any kind of design for this? We've talked about it some and it's conceptually simple, but splitting up the responsibility between client and MDS for doing this, and then making sure we clearly define the consistency guarantees and follow them, is going to take some work.
- Status changed from New to 12
Greg Farnum wrote:
Do we have any kind of design for this? We've talked about it some and it's conceptually simple, but splitting up the responsibility between client and MDS for doing this, and then making sure we clearly define the consistency guarantees and follow them, is going to take some work.
No concrete design yet. We need to discuss this as a team before implementing anything.
My initial thought is to have the mds to this, but if we have the client piggyback it on writeback that would be more efficient. Maybe that's v2.
- Description updated (diff)
- Translation missing: en.field_story_points deleted (
13)
- Translation missing: en.field_position deleted (
16)
- Translation missing: en.field_position set to 16
- Translation missing: en.field_story_points set to 8
- Translation missing: en.field_position deleted (
17)
- Translation missing: en.field_position set to 6
- Translation missing: en.field_position deleted (
6)
- Translation missing: en.field_position set to 2
- Target version set to v0.57c
- Translation missing: en.field_position deleted (
2)
- Translation missing: en.field_position set to 2
- Status changed from 12 to In Progress
- Status changed from In Progress to Fix Under Review
Initial implementation in wip-bt. Needs review.
- Status changed from Fix Under Review to In Progress
The initial review happened last week; Sam has some updates for the rename and sentinel object infrastructure now but they aren't ready for review.
- Status changed from In Progress to 7
I've pushed the additional changes for rename and sentinel to the wip-bt2 branch. Those bits are still untested, but can probably be reviewed in the mean-time...
- Target version changed from v0.57c to v0.58
- Translation missing: en.field_position deleted (
5)
- Translation missing: en.field_position set to 2
Comments on Github for this.
- Target version changed from v0.58 to v0.59
- Target version changed from v0.59 to v0.60
- Status changed from 7 to Resolved
8b798867731d298c05d9f93b0c207a541d2b5e90 merged to master
Also available in: Atom
PDF