qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] For AIO return -ENOSPC on short write


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] For AIO return -ENOSPC on short write
Date: Tue, 22 Feb 2011 15:02:19 +0000

On Tue, Feb 22, 2011 at 10:18 AM,  <address@hidden> wrote:
> +        else if ((laiocb->type == QEMU_AIO_WRITE) && (ret >= 0) &&
> +                 (ret < laiocb->nbytes))
> +            ret = -ENOSPC;

Why is write special?

Why are we even allowing requests that extend beyond the end of the
device?  Is the LVM volume marked growable in the QEMU block layer?

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]