Re: [Qemu-devel] [PATCH 03/14] block: Default to enabled write cache in blk_new()

2016-05-13 Thread Max Reitz
On 04.05.2016 11:39, Kevin Wolf wrote: > The existing users of the function are: > > 1. blk_new_open(), which already enabled the write cache > 2. Some test cases that don't care about the setting > 3. blockdev_init() for empty drives, where the cache mode is overridden >with the value from th

[Qemu-devel] [PATCH 03/14] block: Default to enabled write cache in blk_new()

2016-05-04 Thread Kevin Wolf
The existing users of the function are: 1. blk_new_open(), which already enabled the write cache 2. Some test cases that don't care about the setting 3. blockdev_init() for empty drives, where the cache mode is overridden with the value from the options when a medium is inserted Therefore, thi