Miklos Szeredi
2021-May-18 13:56 UTC
[Libguestfs] [PATCH v4] fuse: Allow fallocate(FALLOC_FL_ZERO_RANGE)
On Wed, 12 May 2021 at 18:19, Richard W.M. Jones <rjones at redhat.com> wrote:> > The current fuse module filters out fallocate(FALLOC_FL_ZERO_RANGE) > returning -EOPNOTSUPP. libnbd's nbdfuse would like to translate > FALLOC_FL_ZERO_RANGE requests into the NBD command > NBD_CMD_WRITE_ZEROES which allows NBD servers that support it to do > zeroing efficiently. > > This commit treats this flag exactly like FALLOC_FL_PUNCH_HOLE.Thanks, applied. Miklos
Richard W.M. Jones
2021-Jun-15 10:33 UTC
[Libguestfs] [PATCH v4] fuse: Allow fallocate(FALLOC_FL_ZERO_RANGE)
On Tue, May 18, 2021 at 03:56:25PM +0200, Miklos Szeredi wrote:> On Wed, 12 May 2021 at 18:19, Richard W.M. Jones <rjones at redhat.com> wrote: > > > > The current fuse module filters out fallocate(FALLOC_FL_ZERO_RANGE) > > returning -EOPNOTSUPP. libnbd's nbdfuse would like to translate > > FALLOC_FL_ZERO_RANGE requests into the NBD command > > NBD_CMD_WRITE_ZEROES which allows NBD servers that support it to do > > zeroing efficiently. > > > > This commit treats this flag exactly like FALLOC_FL_PUNCH_HOLE. > > Thanks, applied.Hi Miklos, did this patch get forgotten? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top