Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2025 07:31:32 -0800
From:      Rick Macklem <rick.macklem@gmail.com>
To:        Alan Somers <asomers@freebsd.org>
Cc:        Dan Shelton <dan.f.shelton@gmail.com>, freebsd-hackers@freebsd.org
Subject:   Re: WRITE_SAME support in FreeBSD nfsd NFSv4.1 mode?
Message-ID:  <CAM5tNy59v28wxq=7WNhPPAq8jsMpocFGm0mn0Enfh9woDQuhQg@mail.gmail.com>
In-Reply-To: <CAOtMX2i29F8NU493v81ggsdcprr7iifuD1aivaxsULxZrYt1tA@mail.gmail.com>
References:  <CAAvCNcD1CziGxmgyzyWix5ADsDXRpkbFUM32H9nEji9kR%2BVc-Q@mail.gmail.com> <CAOtMX2i29F8NU493v81ggsdcprr7iifuD1aivaxsULxZrYt1tA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 10, 2025 at 7:02=E2=80=AFAM Alan Somers <asomers@freebsd.org> w=
rote:
>
> On Thu, Jan 9, 2025 at 5:31=E2=80=AFPM Dan Shelton <dan.f.shelton@gmail.c=
om> 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?
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM5tNy59v28wxq=7WNhPPAq8jsMpocFGm0mn0Enfh9woDQuhQg>