Am 10.04.2019 um 18:29 hat Max Reitz geschrieben:
> tmpfs does not support O_DIRECT. Detect this case, and skip flipping
> @direct if the filesystem does not support it.
>
> Fixes: bf3e50f6239090e63a8ffaaec971671e66d88e07
> Signed-off-by: Max Reitz
Thanks, applied to the block branch.
Kevin
On Wed 10 Apr 2019 06:29:18 PM CEST, Max Reitz wrote:
> # Reopen an image several times changing some of its options
> def test_reopen(self):
> +# Check whether the filesystem supports O_DIRECT
> +if 'O_DIRECT' in qemu_io('-f', 'raw', '-t', 'none', '-c', 'quit',
> hd_path
tmpfs does not support O_DIRECT. Detect this case, and skip flipping
@direct if the filesystem does not support it.
Fixes: bf3e50f6239090e63a8ffaaec971671e66d88e07
Signed-off-by: Max Reitz
---
tests/qemu-iotests/245 | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/