4h8qdp6jx9@privaterelay.appleid.com has uploaded this change for review.

View Change

FSAL_VFS: named attributes backed by user extended attributes

named_attr in the VFS and XFS blocks (off by default) maps the named
attribute "foo" to the extended attribute "user.foo". A WRITE changes
only the bytes it covers.

With named_attr off, the named_attr attribute is now false. VFS used to
report true while OPENATTR always failed.

LINK and RENAME between a named attribute directory and a normal
directory return NFS4ERR_XDEV. LINK and RENAME within a named attribute
directory, and exclusive create of a named attribute, are not supported.

Change-Id: I0aea663a054d5f33e6425b2ec0731861c6e1f1c5
Signed-off-by: Evan Champion <4h8qdp6jx9@privaterelay.appleid.com>
---
M src/FSAL/FSAL_VFS/file.c
M src/FSAL/FSAL_VFS/handle.c
A src/FSAL/FSAL_VFS/namedattr.c
M src/FSAL/FSAL_VFS/os/linux/handle_syscalls.c
M src/FSAL/FSAL_VFS/vfs/CMakeLists.txt
M src/FSAL/FSAL_VFS/vfs/main-c.in.cmake
M src/FSAL/FSAL_VFS/vfs_methods.h
M src/FSAL/FSAL_VFS/xfs/CMakeLists.txt
M src/FSAL/FSAL_VFS/xfs/handle_syscalls.c
M src/FSAL/FSAL_VFS/xfs/main.c
M src/doc/man/ganesha-vfs-config.rst
M src/doc/man/ganesha-xfs-config.rst
12 files changed, 1,749 insertions(+), 14 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/75/1255475/1

To view, visit change 1255475. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I0aea663a054d5f33e6425b2ec0731861c6e1f1c5
Gerrit-Change-Number: 1255475
Gerrit-PatchSet: 1
Gerrit-Owner: 4h8qdp6jx9@privaterelay.appleid.com