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

Reply via email to