[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v12 0/6] qcow2, raw: add preallocation=full and
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH v12 0/6] qcow2, raw: add preallocation=full and preallocation=falloc |
Date: |
Fri, 22 Aug 2014 17:53:22 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 22.08.2014 um 17:34 hat Richard W.M. Jones geschrieben:
> On Fri, Aug 22, 2014 at 05:22:33PM +0200, Kevin Wolf wrote:
> > It's still useful because it happens to reduce the overhead in most
> > implementations and it's a relatively quick operation, but the best way
> > I know of to actually _fully_ preallocate is still writing zeros. Which
> > of the two the user wants, is a decision that qemu can't make for them.
>
> This is a difficult situation. Possibly the choice is between
>
> - efficiently make the file fully allocated, that works in the vast
> majority of cases, but don't go crazy (ie. fallocate)
>
> - really really try as hard as possible to make sure that future
> allocations will never fail (ie. write random non-zero data to the
> file)
>
> Note that neither of these is the preallocation=... option as
> specified in this patch.
Isn't the first one exactly preallocation=falloc and the second is
preallocation=full, except that we're not writing non-zero blocks? (And
probably shouldn't, because that would change the content.)
Kevin
- Re: [Qemu-devel] [PATCH v12 0/6] qcow2, raw: add preallocation=full and preallocation=falloc, Kevin Wolf, 2014/08/22
- Re: [Qemu-devel] [PATCH v12 0/6] qcow2, raw: add preallocation=full and preallocation=falloc, Richard W.M. Jones, 2014/08/22
- Re: [Qemu-devel] [PATCH v12 0/6] qcow2, raw: add preallocation=full and preallocation=falloc, Daniel P. Berrange, 2014/08/22
- Re: [Qemu-devel] [PATCH v12 0/6] qcow2, raw: add preallocation=full and preallocation=falloc, Kevin Wolf, 2014/08/22
- Re: [Qemu-devel] [PATCH v12 0/6] qcow2, raw: add preallocation=full and preallocation=falloc, Richard W.M. Jones, 2014/08/22
- Re: [Qemu-devel] [PATCH v12 0/6] qcow2, raw: add preallocation=full and preallocation=falloc, Daniel P. Berrange, 2014/08/22
- Re: [Qemu-devel] [PATCH v12 0/6] qcow2, raw: add preallocation=full and preallocation=falloc, Kevin Wolf, 2014/08/22
- Re: [Qemu-devel] [PATCH v12 0/6] qcow2, raw: add preallocation=full and preallocation=falloc, Richard W.M. Jones, 2014/08/22
- Re: [Qemu-devel] [PATCH v12 0/6] qcow2, raw: add preallocation=full and preallocation=falloc, Richard W.M. Jones, 2014/08/22
- Re: [Qemu-devel] [PATCH v12 0/6] qcow2, raw: add preallocation=full and preallocation=falloc,
Kevin Wolf <=
- Re: [Qemu-devel] [PATCH v12 0/6] qcow2, raw: add preallocation=full and preallocation=falloc, Richard W.M. Jones, 2014/08/22
- Re: [Qemu-devel] [PATCH v12 0/6] qcow2, raw: add preallocation=full and preallocation=falloc, Hu Tao, 2014/08/25
- Re: [Qemu-devel] [PATCH v12 0/6] qcow2, raw: add preallocation=full and preallocation=falloc, Richard W.M. Jones, 2014/08/25
- Re: [Qemu-devel] [PATCH v12 0/6] qcow2, raw: add preallocation=full and preallocation=falloc, Richard W.M. Jones, 2014/08/25
- Re: [Qemu-devel] [PATCH v12 0/6] qcow2, raw: add preallocation=full and preallocation=falloc, Hu Tao, 2014/08/26