[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] block: Review of .has_zero_init use
From: |
Bharata B Rao |
Subject: |
Re: [Qemu-devel] block: Review of .has_zero_init use |
Date: |
Wed, 26 Jun 2013 08:44:47 +0530 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Jun 25, 2013 at 01:39:11PM +0200, Kevin Wolf wrote:
>
> Can you please review for the gluster, rbd, sheepdog and ssh driver
> whether it's safe to assume that the image reads back as zeros after
> bdrv_create?
Gluster supports both file and block backends. While the above is true for
file backend (which uses ftruncate), the same is not true for
block backend (which uses lvcreate & lvresize).
So overall it is not safe to assume that an image on GlusterFS volume
reads back as zeroes after create.
Regards,
Bharata.