Kevin Wolf effecce6bc file-posix: Fix has_write_zeroes after NO_FALLBACK
If QEMU_AIO_NO_FALLBACK is given, we always return failure and don't
even try to use the BLKZEROOUT ioctl. In this failure case, we shouldn't
disable has_write_zeroes because we didn't learn anything about the
ioctl. The next request might not set QEMU_AIO_NO_FALLBACK and we can
still use the ioctl then.

Fixes: 738301e1175
Reported-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2019-09-10 08:58:43 +02:00
..
2019-09-10 08:58:43 +02:00
2019-08-16 16:43:46 +01:00
2019-09-10 08:58:43 +02:00
2019-08-16 13:31:52 +02:00
2019-08-19 17:13:26 +02:00
2019-09-10 08:58:43 +02:00
2019-08-16 13:31:52 +02:00
2019-09-10 08:58:43 +02:00
2019-08-19 17:13:26 +02:00
2019-09-03 14:55:35 +02:00
2019-08-19 17:13:26 +02:00