* [Qemu-devel] libvirt/qemu fallocate flags
[not found] <288196117.13288387.1455883573397.JavaMail.zimbra@redhat.com>
@ 2016-02-19 12:08 ` Krutika Dhananjay
2016-02-22 19:16 ` Stefan Hajnoczi
0 siblings, 1 reply; 2+ messages in thread
From: Krutika Dhananjay @ 2016-02-19 12:08 UTC (permalink / raw)
To: qemu-devel; +Cc: Sahina Bose
[-- Attachment #1: Type: text/plain, Size: 445 bytes --]
Hi,
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?
-Krutika
[-- Attachment #2: Type: text/html, Size: 1594 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] libvirt/qemu fallocate flags
2016-02-19 12:08 ` [Qemu-devel] libvirt/qemu fallocate flags Krutika Dhananjay
@ 2016-02-22 19:16 ` Stefan Hajnoczi
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2016-02-22 19:16 UTC (permalink / raw)
To: Krutika Dhananjay; +Cc: Sahina Bose, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 693 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-22 19:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <288196117.13288387.1455883573397.JavaMail.zimbra@redhat.com>
2016-02-19 12:08 ` [Qemu-devel] libvirt/qemu fallocate flags Krutika Dhananjay
2016-02-22 19:16 ` Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).