Re: [nfsv4] Extended Attributes NFSv4

"Marc Eshel" <eshel@us.ibm.com> Fri, 16 August 2019 00:46 UTC

Return-Path: <eshel@us.ibm.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A77DE120106 for <nfsv4@ietfa.amsl.com>; Thu, 15 Aug 2019 17:46:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mzHNf-5FVItV for <nfsv4@ietfa.amsl.com>; Thu, 15 Aug 2019 17:46:04 -0700 (PDT)
Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 841DF120105 for <nfsv4@ietf.org>; Thu, 15 Aug 2019 17:46:04 -0700 (PDT)
Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x7G0g96v046009 for <nfsv4@ietf.org>; Thu, 15 Aug 2019 20:46:04 -0400
Received: from smtp.notes.na.collabserv.com (smtp.notes.na.collabserv.com [192.155.248.72]) by mx0a-001b2d01.pphosted.com with ESMTP id 2udhbesmub-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <nfsv4@ietf.org>; Thu, 15 Aug 2019 20:46:03 -0400
Received: from localhost by smtp.notes.na.collabserv.com with smtp.notes.na.collabserv.com ESMTP for <nfsv4@ietf.org> from <eshel@us.ibm.com>; Fri, 16 Aug 2019 00:46:03 -0000
Received: from us1a3-smtp06.a3.dal06.isc4sb.com (10.146.103.243) by smtp.notes.na.collabserv.com (10.106.227.158) with smtp.notes.na.collabserv.com ESMTP; Fri, 16 Aug 2019 00:45:55 -0000
Received: from us1a3-mail148.a3.dal06.isc4sb.com ([10.146.38.117]) by us1a3-smtp06.a3.dal06.isc4sb.com with ESMTP id 2019081600455449-909449 ; Fri, 16 Aug 2019 00:45:54 +0000
In-Reply-To: <CADowLeLp9EysWvEbYNH6+jqawUyh37ktD46ezvew41O3yo-NKA@mail.gmail.com>
To: Victor A Asencio Casiano <victor.asencio@upr.edu>
Cc: David Noveck <davenoveck@gmail.com>, faibish.sorin@dell.com, NFSv4 <nfsv4@ietf.org>, nfsv4 <nfsv4-bounces@ietf.org>, Philip.Shilane@dell.com, Manoj Naik <manoj.naik@gmail.com>
From: Marc Eshel <eshel@us.ibm.com>
Date: Thu, 15 Aug 2019 17:45:53 -0700
References: <CADowLe+VaR15Bw49oNrZWtYLNcG6__kG2oD+yiOS07ON9mKTuQ@mail.gmail.com> <ecac6b1e73df449ea3b86f16c251aaa6@x13pwdurdag1001.AMER.DELL.COM> <CADaq8jeSmX1CyRK4ihuJ5eTcoAwdbm8CWO2_jBHNpkcDjx8sQQ@mail.gmail.com> <OF8E7F2E21.87C4851F-ON8825844A.005C46BF-8825844A.005C70BE@notes.na.collabserv.com> <CADowLeLp9EysWvEbYNH6+jqawUyh37ktD46ezvew41O3yo-NKA@mail.gmail.com>
MIME-Version: 1.0
X-KeepSent: 7F06B971:8D6B31F2-88258458:0000BF74; type=4; name=$KeepSent
X-Mailer: IBM Notes Release 10.0.1 November 29, 2018
X-LLNOutbound: False
X-Disclaimed: 43771
X-TNEFEvaluated: 1
Content-Transfer-Encoding: base64
Content-Type: text/plain; charset="UTF-8"
x-cbid: 19081600-1335-0000-0000-00000108A390
X-IBM-SpamModules-Scores: BY=0; FL=0; FP=0; FZ=0; HX=0; KW=0; PH=0; SC=0.437038; ST=0; TS=0; UL=0; ISC=; MB=0.016881
X-IBM-SpamModules-Versions: BY=3.00011595; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000287; SDB=6.01247408; UDB=6.00658344; IPR=6.01028915; MB=3.00028192; MTD=3.00000008; XFM=3.00000015; UTC=2019-08-16 00:46:00
X-IBM-AV-DETECTION: SAVI=unsuspicious REMOTE=unsuspicious XFE=unused
X-IBM-AV-VERSION: SAVI=2019-08-15 23:19:16 - 6.00010290
x-cbparentid: 19081600-1336-0000-0000-000002ABFB85
Message-Id: <OF7F06B971.8D6B31F2-ON88258458.0000BF74-88258458.000433DC@notes.na.collabserv.com>
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-08-15_11:, , signatures=0
X-Proofpoint-Spam-Reason: safe
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/7_zpqi1wg-5K1gTIJnt-J7Qq0ec>
Subject: Re: [nfsv4] Extended Attributes NFSv4
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/nfsv4/>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 16 Aug 2019 00:46:07 -0000

Hi Victor,

The implementation I added was for the GPFS FSAL, there is some common 
code and if your FSAL claims support for xattr with the ATTR4_XATTR option 
in the fsal_SUPPORTED_ATTRIBUTES it will get the getxattrs, setxattrs,... 
xattr operation. Most of the logic is in the 39a5ef370d path.

The NFS client side was prototyped by Manoj and it was tested against the 
Ganesha/GPFS implementation. I will send it to you on a separate email but 
it is old and the Linux kernel had big changes since.

Marc.





From:   Victor A Asencio Casiano <victor.asencio@upr.edu>
To:     Marc Eshel <eshel@us.ibm.com>
Cc:     David Noveck <davenoveck@gmail.com>, faibish.sorin@dell.com, NFSv4 
<nfsv4@ietf.org>, nfsv4 <nfsv4-bounces@ietf.org>, Philip.Shilane@dell.com
Date:   08/15/2019 09:14 AM
Subject:        [EXTERNAL] Re: [nfsv4] Extended Attributes NFSv4



Hi Marc, can you give more details of how this is implemented/works on 
Ganesha, and if the current 2.8 version support it? The client prototype 
is in a public domain ? 

Thank you all for the replies and help. 

On Fri, Aug 2, 2019, 12:49 PM Marc Eshel <eshel@us.ibm.com> wrote:
There is an implementation in NFS Ganesha for the server side, and a 
prototype for the NFS Linux client side.
Marc.



From:   David Noveck <davenoveck@gmail.com>
To:     "faibish, sorin" <Faibish.Sorin@dell.com>
Cc:     Philip.Shilane@dell.com, victor.asencio@upr.edu, NFSv4 
<nfsv4@ietf.org>
Date:   08/02/2019 09:42 AM
Subject:        [EXTERNAL] Re: [nfsv4] Extended Attributes NFSv4
Sent by:        "nfsv4" <nfsv4-bounces@ietf.org>



> The NFSv4 WG rejected the idea of using extended attributes that were 
specified in the rfc 8276.

I don't'  think the working group considered and rejected the idea using 
extended attributes,   Making a decision like that is way to organized for 

an IETF working group, espec.

Tha  
> It seems nobody implemented xattr per the rfc. If you have any plans for 

that please let the NFSv4 WG know sending this email to the nfsv4 list I 
added here. Thanks  

On Tue, Jul 30, 2019 at 11:47 AM <Faibish.Sorin@dell.com> wrote:
Victor,

Just to keep you expectations low, the NFSv4 WG rejected the idea of using 

extended attributes that were specified in the rfc 8276. It seems nobody 
implemented xattr per the rfc. If you have any plans for that please let 
the NFSv4 WG know sending this email to the nfsv4 list I added here. 
Thanks

./Sorin


From: Victor A Asencio Casiano <victor.asencio@upr.edu> 
Sent: Tuesday, July 30, 2019 10:43 AM
To: faibish, sorin; Shilane, Philip; Black, David
Cc: manoj.naik@nutanix.com; eshel@us.ibm.com
Subject: Extended Attributes NFSv4

[EXTERNAL EMAIL] 
Good morning, I’m currently interested in adding extended attributes to 
NFSv4 and I would like if you can send me in the right direction. RFC 8276 

and your draft (Support for Data Reduction Extended Attributes in nfsv4 
Version 2) are the only serious documents that I found about this topic. I 

would like to know if Extended Attributes have been already implemented 
somewhere that I can test it out, or If someone try to implement this 
before or any source code that I can reach out or any draft code? Besides 
the code portions that appears on RFC 8276.

Thanks for your help. 
_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www.ietf.org/mailman/listinfo/nfsv4
_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_nfsv4&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=NhjWjQMiZ2Z3jl9k1z_vFQ&m=ciCsJOkQAIJqC9dtwkItM5iA0MolxyyZs-81_AsYLOo&s=XgAi3TaMnwCf6mDBCts78JCVpt4A0AeDkaNQpFg-nUo&e=