Project

General

Profile

Feature #2335

librbd: write-thru cache mode

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

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

0%

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

Associated revisions

Revision 6f3221a9 (diff)
Added by Sage Weil over 8 years ago

objectcacher: explicit write-thru mode

If the max_dirty config is 0, switch to write-thru mode, which will
explicitly flush and wait on the range we just dirtied.

Closes: #2335
Signed-off-by: Sage Weil <>

History

#1 Updated by Sage Weil over 8 years ago

  • translation missing: en.field_position deleted (1)
  • translation missing: en.field_position set to 17

#2 Updated by Sage Weil over 8 years ago

  • translation missing: en.field_story_points set to 3
  • translation missing: en.field_position deleted (17)
  • translation missing: en.field_position set to 17

#3 Updated by Sage Weil over 8 years ago

  • translation missing: en.field_story_points changed from 3 to 5
  • translation missing: en.field_position deleted (17)
  • translation missing: en.field_position set to 17

#4 Updated by Sage Weil over 8 years ago

  • translation missing: en.field_position deleted (19)
  • translation missing: en.field_position set to 20

#5 Updated by Sage Weil over 8 years ago

  • translation missing: en.field_position deleted (20)
  • translation missing: en.field_position set to 19

#6 Updated by Sage Weil over 8 years ago

  • Target version set to v0.47
  • translation missing: en.field_position deleted (19)
  • translation missing: en.field_position set to 15

#7 Updated by Sage Weil over 8 years ago

  • Category set to librbd
  • Status changed from New to In Progress
  • Assignee set to Sage Weil

just setting the dirty limit to 0 won't work (well), because we'll end up with a single io in flight at any point in time. need to do something a bit smarter than the current

wait_for_write()
write_into_cache()

#8 Updated by Sage Weil over 8 years ago

  • Status changed from In Progress to Fix Under Review

wip-rbd-wt

#9 Updated by Sage Weil over 8 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF