Actions
Feature #3817
closedlibrbd: make cache write-through until a flush is encountered
% Done:
0%
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
Writeback caching is unsafe if higher layers don't send flushes. qemu can be accidentally misconfigured to not send flushes pretty easily, so staying write-through until we have evidence of flushes being sent is conservative but safe.
There should be an option to disable this behavior if people know they don't care about the data, and e.g. want to use qemu's cache=unsafe option.
Actions