block: clarify the meaning of BDRV_O_NOCACHE
commita659979328fb6d4d6100d398f5bd9a2310c3e169
authorChristoph Hellwig <hch@lst.de>
Tue, 17 May 2011 16:04:06 +0000 (17 18:04 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 8 Jun 2011 08:39:32 +0000 (8 10:39 +0200)
tree8d465d20ea1efc82134941d9a589c4b224ce4b3b
parent69c38b8fcec823da05f98f6ea98ec2b0013d64e2
block: clarify the meaning of BDRV_O_NOCACHE

Change BDRV_O_NOCACHE to only imply bypassing the host OS file cache,
but no writeback semantics.  All existing callers are changed to also
specify BDRV_O_CACHE_WB to give them writeback semantics.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block/qcow2.c
block/raw-posix.c
block/raw-win32.c
blockdev.c
qemu-io.c
qemu-nbd.c