|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [Qemu-block] [PATCH v2 0/3] block: Warn about usage of growing formats over non-growable protocols |
Date: | Thu, 07 May 2015 14:47:15 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 07/05/2015 14:29, Kevin Wolf wrote: > > No, it shouldn't indeed. > > > > Could alloc_clusters_noref do bdrv_truncate and return ENOSPC if it > > fails? That's how for example qcow and vhdx work. vdi has the same > > problem. > > If you want NBD to return -ENOSPC for writes after EOF, change the > nbd block driver to do just that. There's no reason to add additional > overhead to qcow2 (even over raw-posix) for that. Does ENOSPC over LVM (dm-linear) work at all, and who generates the ENOSPC there? Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |