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

From: Rick Macklem <rick.macklem_at_gmail.com>
Date: Fri, 10 Jan 2025 15:31:32 UTC
On Fri, Jan 10, 2025 at 7:02 AM Alan Somers <asomers@freebsd.org> wrote:
>
> On Thu, Jan 9, 2025 at 5:31 PM Dan Shelton <dan.f.shelton@gmail.com> wrote:
> >
> > Hello!
> >
> > Does FreeBSD nfsd support the WRITE_SAME request in NFSv4.1 mode?
Just fyi for other readers...
A normal NFSv4.2 write pushes the data down the wire to the server. A WRITE_SAME
pushes a description of a data block and a repetition count down the
wire to the server,
allowing a lot of repetitive data to be written without sending it all
down the wire
(at least that is my understanding;-).

I am not aware of any system call for this at this time, although
there is active discussion
of this on the Linux NFS mailing list.

rick

> >
> > Dan
> > --
> > Dan Shelton - Cluster Specialist Win/Lin/Bsd
>
> Out of curiosity, what is your use case?
>