qcow2: Declare BDRV_REQ_NO_FALLBACK supported
commit3b65081638c68be1c6ed08635c8acd99f32320ac
authorKevin Wolf <kwolf@redhat.com>
Fri, 22 Nov 2019 15:57:48 +0000 (22 16:57 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 18 Dec 2019 10:21:16 +0000 (18 11:21 +0100)
treea966d54d2b18e722ec71b94dbe9619a33ae6f063
parent1ef7d9d368eb76d64e86e4d1251eb8e53881ff26
qcow2: Declare BDRV_REQ_NO_FALLBACK supported

In the common case, qcow2_co_pwrite_zeroes() already only modifies
metadata case, so we're fine with or without BDRV_REQ_NO_FALLBACK set.

The only exception is when using an external data file, where the
request is passed down to the block driver of the external data file. We
are forwarding the BDRV_REQ_NO_FALLBACK flag there, though, so this is
fine, too.

Declare the flag supported therefore.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
block/qcow2.c