Re: [Qemu-devel] [PATCH] iotests: Let 245 pass on tmpfs

2019-04-11 Thread Kevin Wolf
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

Re: [Qemu-devel] [PATCH] iotests: Let 245 pass on tmpfs

2019-04-11 Thread Alberto Garcia
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

[Qemu-devel] [PATCH] iotests: Let 245 pass on tmpfs

2019-04-10 Thread Max Reitz
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/