Date: Fri, 10 Jan 2025 06:57:34 -0800 From: Rick Macklem <rick.macklem@gmail.com> To: Dan Shelton <dan.f.shelton@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: WRITE_SAME support in FreeBSD nfsd NFSv4.1 mode? Message-ID: <CAM5tNy449p7o00ANcRFm_oDGqwRwtkiMXv8ZuQaJuOrGBqGwVQ@mail.gmail.com> In-Reply-To: <CAAvCNcB_PhT2phz6qM-=5C19MtPW7QppxaRL6B1mK7LFH4xWfQ@mail.gmail.com> References: <CAAvCNcD1CziGxmgyzyWix5ADsDXRpkbFUM32H9nEji9kR%2BVc-Q@mail.gmail.com> <CAM5tNy7NATNcoaQsm=ZZ-sGJc8wK=yJE5Cz-7nv4cOXxH2Z%2BhA@mail.gmail.com> <CAAvCNcB_PhT2phz6qM-=5C19MtPW7QppxaRL6B1mK7LFH4xWfQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 9, 2025 at 8:14=E2=80=AFPM 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=E2=80=AFPM 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? For the simplest version, not too long. The simplest version would be synchronous only and use VOP_WRITE() calls. Doing a new VOP_xxx() call to try and optimize it per-fs would take quite a bit longer. (I know very little about ZFS, but= just maybe, block cloning would be useful for this?) Btw, it is a NFSv4.2 call, so it would only be supported for NFSv4.2 and no= t NFSv4.1. rick > > Dan > -- > Dan Shelton - Cluster Specialist Win/Lin/Bsd >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM5tNy449p7o00ANcRFm_oDGqwRwtkiMXv8ZuQaJuOrGBqGwVQ>