[Virtio-fs] [PATCH v4 5/5] tools/virtiofsd: xattr name mappings: Simple 'map'
Stefan Hajnoczi
stefanha at redhat.com
Mon Oct 26 15:55:00 UTC 2020
On Fri, Oct 23, 2020 at 05:58:12PM +0100, Dr. David Alan Gilbert (git) wrote:
> From: "Dr. David Alan Gilbert" <dgilbert at redhat.com>
>
> The mapping rule system implemented in the last few patches is
> extremely flexible, but not easy to use. Add a simple
> 'map' type as a sprinkling of sugar to make it easy.
>
> e.g.
>
> -o xattrmap=":map::user.virtiofs.:"
>
> would be sufficient to prefix all xattr's
> or
>
> -o xattrmap=":map:trusted.:user.virtiofs.:"
>
> would just prefix 'trusted.' xattr's and leave
> everything else alone.
>
> Signed-off-by: Dr. David Alan Gilbert <dgilbert at redhat.com>
> ---
> docs/tools/virtiofsd.rst | 19 ++++++
> tools/virtiofsd/passthrough_ll.c | 112 ++++++++++++++++++++++++++++++-
> 2 files changed, 130 insertions(+), 1 deletion(-)
Reviewed-by: Stefan Hajnoczi <stefanha at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virtio-fs/attachments/20201026/df918588/attachment.sig>
More information about the Virtio-fs
mailing list