[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/1] block: fix return code for partial write fo
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH 1/1] block: fix return code for partial write for Linux AIO |
Date: |
Tue, 28 Jun 2016 13:52:24 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 23.06.2016 um 13:37 hat Denis V. Lunev geschrieben:
> 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 happens with NBD server, which has reported EINVAL
> rather then ENOSPC on the first error using its protocol, which makes
> report to the user wrong.
>
> Signed-off-by: Denis V. Lunev <address@hidden>
> CC: Pavel Borzenkov <address@hidden>
> CC: Kevin Wolf <address@hidden>
> CC: Max Reitz <address@hidden>
Thanks, applied to the block branch.
Kevin