Re: FreeBSD NFSv4.1 nfsd, named attribute support (OPENATTR) via O_NAMEDATTR / Re: FreeBSD NFSv4.1 nfsd, named attribute support (OPENATTR)?

From: Rick Macklem <rick.macklem_at_gmail.com>
Date: Tue, 05 Aug 2025 21:43:38 UTC
On Tue, Aug 5, 2025 at 2:27 PM Cedric Blancher
<cedric.blancher@gmail.com> wrote:
>
> On Wed, 4 Jun 2025 at 22:42, Rick Macklem <rick.macklem@gmail.com> wrote:
> >
> > On Wed, Jun 4, 2025 at 11:05 AM Cedric Blancher
> > <cedric.blancher@gmail.com> wrote:
> > >
> > > On Wed, 9 Apr 2025 at 16:32, Rick Macklem <rick.macklem@gmail.com> wrote:
> > > >
> > > > On Wed, Apr 9, 2025 at 1:29 AM Cedric Blancher
> > > > <cedric.blancher@gmail.com> wrote:
> > > > >
> > > > > 1. Which tag in https://github.com/freebsd/freebsd-src should I check
> > > > > out for building?
> > > > Oh, you need the main branch.
> > >
> > > Sorry, I was sick for the better part of the month.
> > >
> > > @rick & @lionel:
> > > What is the status here? Is there a FreeBSD ISO image which can be
> > > used for testing this with FreeBSD nfsd+FreeBSD NFSv4.1 client with an
> > > exported ZFS?
> > Not unless you are willing to apply the ZFS patch and build/install a kernel
> > from those modified sources. (The ZFS patch is still under review for OpenZFS.)
> >
> > If you are willing to do the above (it should be pretty easy), grab the most
> > recent 15.0 snapshot from here... anonymous ftp at ftp.freebsd.org
> > pub/FreeBSD/snapshots/ISO-IMAGES/15.0
> > Then, for x86-64, choose one with "amd64" and disc1" in the name.
> >
> > After installing it (click on the "src" box)..
> > Grab the ZFS patch from here...
> > https://people.freebsd.org/~rmacklem/zfs-xattr.patch
> > and apply it to /usr/src.
> > The in /usr/src..
> > make buildkernel
> > make installkernel
>
> Is this patch still valid against FreeBSD HEAD?
I think it is?
If you can easily do it, cherry-pick 2957eab from
openzfs/zfs on github.

rick

>
> Ced
> --
> Cedric Blancher <cedric.blancher@gmail.com>
> [https://plus.google.com/u/0/+CedricBlancher/]
> Institute Pasteur
>