Project

General

Profile

Actions

Feature #6033

closed

cachepool: osd: basic io decision: read/write from/to cache pool or EAGAIN; make objecter handle redirect

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

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

100%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Actions #1

Updated by Sage Weil over 10 years ago

  • Subject changed from cachepool: osd: basic io decision: read/write from/to cache pool or EAGAIN to cachepool: osd: basic io decision: read/write from/to cache pool or EAGAIN; make objecter handle redirect
Actions #2

Updated by Sage Weil over 10 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Sage Weil over 10 years ago

  • Translation missing: en.field_story_points set to 5.00
Actions #4

Updated by Ian Colle over 10 years ago

  • Assignee set to Greg Farnum
Actions #5

Updated by Greg Farnum over 10 years ago

  • % Done changed from 0 to 50

wip-6033-redirects
The Objecter half of this is done and seems to be working correctly. The OSD portion is a bit more complicated; I currently have some truly stupid logic that just issues a redirect on any tier pool which doesn't have the object requested. (So there's no promote/demote logic, and there's nothing like determining behavior based on the cache type.) I think I'd like to discuss the best place to put that logic before moving forward.

Actions #6

Updated by Greg Farnum over 10 years ago

  • Status changed from In Progress to Fix Under Review
  • % Done changed from 50 to 100

The OSD is slightly less stupid now, and it looks like making it smarter is going to be part of future tickets (the cache modes don't really make any sense without doing promotion/demotion of objects).
Ready for review: https://github.com/ceph/ceph/pull/580

Actions #7

Updated by Greg Farnum over 10 years ago

  • Status changed from Fix Under Review to Resolved

This got merged into master a couple days ago; 383d8a199ea70578bb418cf36812963b04c42873

Actions

Also available in: Atom PDF