From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e23smtp06.au.ibm.com ([202.81.31.148]:56651 "EHLO e23smtp06.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933162AbcECNNv (ORCPT ); Tue, 3 May 2016 09:13:51 -0400 Received: from localhost by e23smtp06.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 3 May 2016 23:13:48 +1000 Message-ID: <1462281169.2836.13.camel@linux.vnet.ibm.com> Subject: Re: [RFC 0/8] Xattr inode operation removal From: Mimi Zohar To: Andreas Gruenbacher Cc: Alexander Viro , linux-fsdevel , Tyler Hicks , ecryptfs@vger.kernel.org, Miklos Szeredi , linux-unionfs@vger.kernel.org, linux-ima-devel@lists.sourceforge.net, LSM , David Howells , Serge Hallyn , Dmitry Kasatkin , Paul Moore , Stephen Smalley , Eric Paris , Casey Schaufler , Oleg Drokin , Andreas Dilger Date: Tue, 03 May 2016 09:12:49 -0400 In-Reply-To: References: <1462229118-13123-1-git-send-email-agruenba@redhat.com> <1462243235.2559.23.camel@linux.vnet.ibm.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, 2016-05-03 at 13:49 +0200, Andreas Gruenbacher wrote: > On Tue, May 3, 2016 at 4:40 AM, Mimi Zohar wrote: > > Hi Andreas, > > > > On Tue, 2016-05-03 at 00:45 +0200, Andreas Gruenbacher wrote: > >> Hi all, > >> > >> what are your thoughts on this patch set? It applies on top of the > >> work.xattr branch [*], converts the remaining filesystems over to xattr > >> handlers, and replaces the getxattr, setxattr, and removexattr inode > >> operations. The only way to implement getxattr, setxattr, and > >> removexattr with this approach is through xattr handlers. > > > > The patch description should provide the motivation/reason for the > > change (eg. performance, locking). Up to now these xattr functions > > required the caller to take the i_mutex. Is the i_mutex still required? > > Yes, the documentation needs updating. The locking rules are still the same. I meant to say, this cover letter needs to provide the motivation/reason for the change(s). From my perspective, the main motivation would either be "locking" or keeping the file data and metadata in sync. If these aren't the motivation/reasons for the change, please provide an explanation. thanks, Mimi