[Top][All Lists]
[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:16:50 +0000 |
On Tue, Feb 22, 2011 at 3:11 PM, Kevin Wolf <address@hidden> wrote:
> Am 22.02.2011 16:02, schrieb Stefan Hajnoczi:
>> 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?
>
> Might well be a qcow2 on LVM case that Jes was debugging.
Yes it is. It doesn't explain it though. The code involved here is
linux-aio.c and will be qcow2's bs->file. That ought to be a
host_device and AFAIK that is not growable. So I wanted to figure out
why we're even getting this far. I expected the request to get
rejected in block.c when checking the range against the host_device.
Stefan