[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] libvirt/qemu fallocate flags
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] libvirt/qemu fallocate flags |
Date: |
Mon, 22 Feb 2016 19:16:08 +0000 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Fri, Feb 19, 2016 at 07:08:30AM -0500, Krutika Dhananjay wrote:
> I work on the GlusterFS project and we are using glusterfs as the backend
> store
> for VM images in our testing. There's a new feature introduced in glusterfs
> which
> shards a large file into multiple files.
>
> Now in order to implement the "fallocate" file operation for sharded files,
> we need
> to know all the possible flags (ex: FALLOC_FL_KEEP_SIZE) that are passed to
> qemu when calling fallocate(). Could you help us on this?
cd qemu && git grep 'fallocate('
The following are used by block/raw-posix.c:
FALLOC_FL_ZERO_RANGE,
FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
and 0.
Stefan
signature.asc
Description: PGP signature