]> git.proxmox.com Git - mirror_qemu.git/commit - blockdev.c
block: Fix cache mode defaults in bds_tree_init()
authorKevin Wolf <kwolf@redhat.com>
Mon, 7 Mar 2016 13:23:04 +0000 (14:23 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 14 Mar 2016 15:46:43 +0000 (16:46 +0100)
commita81d616437e53106c31ba5025d5f359e592a2ef4
treecc2266fb11c9a4bc6779cfbab6d6143e32bf6822
parent73176bee9918a3738237b0e06eff72b497283869
block: Fix cache mode defaults in bds_tree_init()

Without setting explicit defaults in the options, blockdev-add without
an ID ended up defaulting to writethrough. It should be writeback as
documented.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
blockdev.c