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