]> git.ipfire.org Git - thirdparty/qemu.git/commit
block/quorum: Support BDRV_REQ_WRITE_UNCHANGED
authorMax Reitz <mreitz@redhat.com>
Sat, 21 Apr 2018 13:29:25 +0000 (15:29 +0200)
committerMax Reitz <mreitz@redhat.com>
Tue, 15 May 2018 14:15:21 +0000 (16:15 +0200)
commit1b1a920b713af6af795d49d0e3d2a8a65020bf82
tree3c6c048e0ec2dae53e11fdb3a1050fa8a184a360
parent7adcf59fecf3c8ce9330430187350b53f9e50cf7
block/quorum: Support BDRV_REQ_WRITE_UNCHANGED

We just need to forward it to quorum's children (except in case of a
rewrite because of corruption), but for that we first have to support
flags in child requests at all.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Message-id: 20180421132929.21610-6-mreitz@redhat.com
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/quorum.c