Re: [Qemu-devel] [PATCH v2 2/2] tests: add file-write-read test

2015-11-24 Thread Eric Blake
On 11/24/2015 11:04 AM, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > This test exhibits a POSIX behaviour regarding switching between write > and read. It's undefined result if the application doesn't ensure a > flush between the two operations (with glibc, the flush can be im

[Qemu-devel] [PATCH v2 2/2] tests: add file-write-read test

2015-11-24 Thread marcandre . lureau
From: Marc-André Lureau This test exhibits a POSIX behaviour regarding switching between write and read. It's undefined result if the application doesn't ensure a flush between the two operations (with glibc, the flush can be implicit when the buffer size is relatively small). The previous commit