All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bharata B Rao <bharata@linux.vnet.ibm.com>
To: Kevin Wolf <kwolf@redhat.com>
Cc: josh.durgin@dreamhost.com, tailai.ly@taobao.com,
	Peter Lieven <pl@kamp.de>,
	qemu-devel@nongnu.org, rjones@redhat.com, stefanha@redhat.com,
	morita.kazutaka@lab.ntt.co.jp
Subject: Re: [Qemu-devel] block: Review of .has_zero_init use
Date: Wed, 26 Jun 2013 08:44:47 +0530	[thread overview]
Message-ID: <20130626031447.GD9966@in.ibm.com> (raw)
In-Reply-To: <20130625113911.GD3539@dhcp-200-207.str.redhat.com>

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.

  parent reply	other threads:[~2013-06-26  3:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-25 11:39 [Qemu-devel] block: Review of .has_zero_init use Kevin Wolf
2013-06-25 12:05 ` Richard W.M. Jones
2013-06-25 12:27   ` Kevin Wolf
2013-06-25 13:11 ` MORITA Kazutaka
2013-06-25 13:20   ` Kevin Wolf
2013-06-25 13:42     ` MORITA Kazutaka
2013-06-25 13:45       ` Kevin Wolf
2013-06-25 15:06 ` Josh Durgin
2013-06-26  3:14 ` Bharata B Rao [this message]
2013-06-26  5:59   ` Peter Lieven
2013-06-26  6:46     ` Bharata B Rao
2013-06-26  7:36       ` Kevin Wolf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130626031447.GD9966@in.ibm.com \
    --to=bharata@linux.vnet.ibm.com \
    --cc=josh.durgin@dreamhost.com \
    --cc=kwolf@redhat.com \
    --cc=morita.kazutaka@lab.ntt.co.jp \
    --cc=pl@kamp.de \
    --cc=qemu-devel@nongnu.org \
    --cc=rjones@redhat.com \
    --cc=stefanha@redhat.com \
    --cc=tailai.ly@taobao.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.