Re: [Qemu-block] [Qemu-devel] [PATCH 1/1] block: fix return code for partial write for Linux AIO

2016-06-28 Thread Denis V. Lunev
On 06/28/2016 05:22 PM, Eric Blake wrote: On 06/28/2016 05:21 AM, Denis V. Lunev wrote: On 06/23/2016 02:37 PM, Denis V. Lunev wrote: Partial write most likely means that there is not space rather than "something wrong happens". Thus it would be more natural to return ENOSPC rather than

Re: [Qemu-block] [Qemu-devel] [PATCH 1/1] block: fix return code for partial write for Linux AIO

2016-06-28 Thread Eric Blake
On 06/28/2016 05:21 AM, Denis V. Lunev wrote: > On 06/23/2016 02:37 PM, Denis V. Lunev wrote: >> Partial write most likely means that there is not space rather than >> "something wrong happens". Thus it would be more natural to return >> ENOSPC rather than EINVAL. >> >> The problem actually