Kevin Wolf
72e775c7d9
block: Always set writeback mode in blk_new_open()
...
All callers of blk_new_open() either don't rely on the WCE bit set after
blk_new_open() because they explicitly set it anyway, or they pass
BDRV_O_CACHE_WB unconditionally.
This patch changes blk_new_open() so that it always enables writeback
mode and asserts that BDRV_O_CACHE_WB is clear. For those callers that
used to pass BDRV_O_CACHE_WB unconditionally, the flag is removed now.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
2016-03-30 12:16:01 +02:00
..
2016-01-20 13:36:23 +01:00
2016-03-22 22:20:17 +01:00
2016-03-22 22:20:17 +01:00
2016-03-22 22:20:17 +01:00
2016-03-30 12:15:57 +02:00
2016-03-22 22:20:17 +01:00
2016-03-30 12:16:01 +02:00
2016-03-22 22:20:15 +01:00
2016-03-22 22:20:15 +01:00
2016-03-22 22:20:15 +01:00
2016-03-30 12:16:01 +02:00
2016-03-22 22:20:17 +01:00
2016-03-22 22:20:15 +01:00
2016-03-22 22:20:15 +01:00
2016-03-22 22:20:15 +01:00
2016-03-30 12:12:15 +02:00
2016-02-29 14:54:31 -05:00
2016-01-20 13:36:23 +01:00
2016-03-30 12:15:57 +02:00
2016-03-22 22:20:15 +01:00
2016-02-16 17:16:33 +01:00
2016-02-16 17:16:33 +01:00
2016-03-22 22:20:17 +01:00
2016-02-29 14:54:30 -05:00
2016-03-22 22:20:15 +01:00
2016-03-30 12:16:01 +02:00
2016-03-30 11:59:32 +02:00
2016-01-20 13:36:23 +01:00
2016-03-22 22:20:15 +01:00
2016-03-22 22:20:15 +01:00
2016-03-22 22:20:17 +01:00
2016-03-30 12:16:01 +02:00
2016-03-30 12:16:01 +02:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-03-30 12:16:01 +02:00
2016-03-22 22:20:17 +01:00
2016-03-17 16:43:30 +01:00
2016-03-22 22:20:15 +01:00
2016-03-22 22:20:16 +01:00
2016-03-30 11:59:32 +02:00
2016-03-22 22:20:17 +01:00
2016-03-22 22:20:17 +01:00
2016-03-30 12:16:01 +02:00
2016-03-22 22:20:15 +01:00
2016-03-22 22:20:15 +01:00
2016-03-29 19:54:49 +01:00
2016-01-20 13:36:23 +01:00
2016-03-30 12:16:01 +02:00
2016-01-20 13:36:23 +01:00
2016-03-22 22:20:15 +01:00
2016-03-30 12:16:01 +02:00
2016-03-30 12:16:01 +02:00
2016-03-30 12:16:01 +02:00
2016-03-22 22:20:17 +01:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00