Re: WRITE_SAME support in FreeBSD nfsd NFSv4.1 mode?

From: Rick Macklem <rick.macklem_at_gmail.com>
Date: Fri, 10 Jan 2025 23:24:42 UTC
On Thu, Jan 9, 2025 at 8:14 PM Dan Shelton <dan.f.shelton@gmail.com> wrote:
>
> On Fri, 10 Jan 2025 at 02:59, Rick Macklem <rick.macklem@gmail.com> wrote:
> >
> > On Thu, Jan 9, 2025 at 4:31 PM Dan Shelton <dan.f.shelton@gmail.com> wrote:
> > >
> > > Hello!
> > >
> > > Does FreeBSD nfsd support the WRITE_SAME request in NFSv4.1 mode?
> > Not at this time, I'm afraid.
> >
> > Maybe in a future release, rick
>
> How fast could it be implemented?
I will probably try to come up with at least a proof of concept patch soon.
Once I have that much, I can start to think of what a VOP_WRITESAME()
might look like. If possible, it would be nice to get this in 15, since it would
have to wait for 16 otherwise.

Dan, if you could create a bugzilla PR (bugs.freebsd.org) asking for this as a
new feature, at least it won't get completely forgotten and I can hang patches
there.

You could look at the release schedule for FreeBSD 15 to see what the
optimistic bound on an implementation of this is.

rick
ps: If you can discuss it, I would also like to hear something about the
      use case.  This can help justify the work.



>
> Dan
> --
> Dan Shelton - Cluster Specialist Win/Lin/Bsd
>