Project

General

Profile

Actions

Feature #363

closed

Support writeback cache

Added by Wido den Hollander over 13 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

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

Description

When trying to use the cache=writeback i found out that this doesn't change anything.

Sage suggested that something might has to be implemented in the rbd driver.

Searching trough the qcow2 code confirms that:

rbd uses bdrv_file_open which does not support Writeback caching, where qcow2 uses bdrv_open, which does support wb.

Although using writeback could lead to data loss in case of a crash or power failure, it might be usefull in certain situations.

Actions

Also available in: Atom PDF