Re: [PATCH v2 6/6] iotests: Test committing to short backing file

2019-11-21 Thread Vladimir Sementsov-Ogievskiy
21.11.2019 14:39, Kevin Wolf wrote: > Am 21.11.2019 um 11:30 hat Vladimir Sementsov-Ogievskiy geschrieben: >> 21.11.2019 13:28, Vladimir Sementsov-Ogievskiy wrote: >>> 20.11.2019 21:45, Kevin Wolf wrote: Signed-off-by: Kevin Wolf >>> >>> Hmm, allocating 7G will break tests on small disks, for

Re: [PATCH v2 6/6] iotests: Test committing to short backing file

2019-11-21 Thread Kevin Wolf
Am 21.11.2019 um 11:30 hat Vladimir Sementsov-Ogievskiy geschrieben: > 21.11.2019 13:28, Vladimir Sementsov-Ogievskiy wrote: > > 20.11.2019 21:45, Kevin Wolf wrote: > >> Signed-off-by: Kevin Wolf > > > > Hmm, allocating 7G will break tests on small disks, for example, > > on my 2G tmpfs. > > > >

Re: [PATCH v2 6/6] iotests: Test committing to short backing file

2019-11-21 Thread Vladimir Sementsov-Ogievskiy
21.11.2019 13:28, Vladimir Sementsov-Ogievskiy wrote: > 20.11.2019 21:45, Kevin Wolf wrote: >> Signed-off-by: Kevin Wolf > > Hmm, allocating 7G will break tests on small disks, for example, > on my 2G tmpfs. > > So, we probably should > detect "+qemu-img: Failed to resize underlying file: Could n

Re: [PATCH v2 6/6] iotests: Test committing to short backing file

2019-11-21 Thread Vladimir Sementsov-Ogievskiy
20.11.2019 21:45, Kevin Wolf wrote: > Signed-off-by: Kevin Wolf Hmm, allocating 7G will break tests on small disks, for example, on my 2G tmpfs. So, we probably should detect "+qemu-img: Failed to resize underlying file: Could not write zeros for preallocation: No space left on device" errors an

Re: [PATCH v2 6/6] iotests: Test committing to short backing file

2019-11-21 Thread Vladimir Sementsov-Ogievskiy
20.11.2019 21:45, Kevin Wolf wrote: > Signed-off-by: Kevin Wolf Reviewed-by: Vladimir Sementsov-Ogievskiy -- Best regards, Vladimir

Re: [PATCH v2 6/6] iotests: Test committing to short backing file

2019-11-21 Thread Vladimir Sementsov-Ogievskiy
21.11.2019 0:27, Eric Blake wrote: > On 11/20/19 12:45 PM, Kevin Wolf wrote: >> Signed-off-by: Kevin Wolf >> --- >>   tests/qemu-iotests/274    | 141 + >>   tests/qemu-iotests/274.out    | 227 ++ >>   tests/qemu-iotests/group  |   1 + >>

Re: [PATCH v2 6/6] iotests: Test committing to short backing file

2019-11-20 Thread Eric Blake
On 11/20/19 12:45 PM, Kevin Wolf wrote: Signed-off-by: Kevin Wolf --- tests/qemu-iotests/274| 141 + tests/qemu-iotests/274.out| 227 ++ tests/qemu-iotests/group | 1 + tests/qemu-iotests/iotests.py | 2 +- 4 files ch

[PATCH v2 6/6] iotests: Test committing to short backing file

2019-11-20 Thread Kevin Wolf
Signed-off-by: Kevin Wolf --- tests/qemu-iotests/274| 141 + tests/qemu-iotests/274.out| 227 ++ tests/qemu-iotests/group | 1 + tests/qemu-iotests/iotests.py | 2 +- 4 files changed, 370 insertions(+), 1 deletion(-) create