Re: [PATCH v4] fuse: Allow fallocate(FALLOC_FL_ZERO_RANGE)

From: Miklos Szeredi
Date: Fri Jun 18 2021 - 03:13:07 EST


On Tue, 15 Jun 2021 at 12:34, Richard W.M. Jones <rjones@xxxxxxxxxx> wrote:
>
> 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@xxxxxxxxxx> 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?

It's in my internal patch queue. Will push to fuse.git#for-next in a few days.

Thanks,
Miklos