Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3118378yba; Mon, 22 Apr 2019 20:29:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqxX9gUJQQ+yfEdk9BKHOQa6+5vdne6UOArMe73f/TUNkVa9FViFUbabteDejI+pb84LL5tQ X-Received: by 2002:a17:902:1105:: with SMTP id d5mr24112408pla.311.1555990157168; Mon, 22 Apr 2019 20:29:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555990157; cv=none; d=google.com; s=arc-20160816; b=PC55tIPwSkA1XSM1OzdHkdq6b8z/2r+AGscpYdk+FymNgnWo3jbiB8tXLYMt307Ucz s2XopTp14pCyEjAayNI+A+KQICsZcVdwY1+2ZoPJCF4sfPS+68SSmILjmectKXjjw2na zJtI/0vlws8b56mePG76VXlBCj2mmm+U+SeR5kRwdlRNC6HBsWf0owSd0fuo+zAD5zSd /aKwaafqQ44LfxXG9gkJrkP7N/ojMCFmphoUnCwdAP7YIFFe8IbbOToxNQy/TQ5YbUMO 3jIG2uZpmP3IMWN64X5pOAUtM9TIHHogV8EIiUdv3gfMI52dlfux4AjAkhmtVzVVpHi5 7rXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=GRuhcvHptCbA/TEyXnIlPZTq9H6A27SAgmzohB/ewZs=; b=TuQ6jrhM/onknjSueMAkX+WpUJ1UOJNXMhHaaZ4k27dj3ZelOKIdpfzxJJCNXAGNYC 5z0O0KPNNRApX/DoH+Va4+iR1vt8+pQC82+5azrriPgsI2hJ0AvCA6VQf/zw+KK+DH6E HZk3Q69Ow59I/4nsJJCEhbuhY9yFnXiOLAyFVOxXM3ot0aE5i1r5DyupCcQl1nHaT49Y sBuPrO3/xfeJFpZ+DLxhuzMo6dkHvLUj956EGu93um+UEL/CS8ypKlqLu4MRj7kkeJro 6qv/j20maWB7UA8jIW3QbVt4Uxjf13xua2zXjbXCClZnbBxuuItVK8fpIoOhEezdIaPL rd7g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p85si15246001pfi.27.2019.04.22.20.29.02; Mon, 22 Apr 2019 20:29:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730387AbfDVXKl (ORCPT + 99 others); Mon, 22 Apr 2019 19:10:41 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:53358 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726260AbfDVXKl (ORCPT ); Mon, 22 Apr 2019 19:10:41 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92 #3 (Red Hat Linux)) id 1hIi56-0004ix-Lj; Mon, 22 Apr 2019 23:10:36 +0000 Date: Tue, 23 Apr 2019 00:10:36 +0100 From: Al Viro To: Linus Torvalds Cc: Mike Marshall , Martin Brandenburg , LKML , linux-fsdevel Subject: Re: [RFC PATCH 60/62] orangefs: make use of ->free_inode() Message-ID: <20190422231036.GK2217@ZenIV.linux.org.uk> References: <20190416174900.GT2217@ZenIV.linux.org.uk> <20190416175340.21068-1-viro@ZenIV.linux.org.uk> <20190416175340.21068-60-viro@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 22, 2019 at 02:56:57PM -0700, Linus Torvalds wrote: > On Mon, Apr 22, 2019 at 2:14 PM Mike Marshall wrote: > > > > I applied your "new inode method: ->free_inode()" and > > "orangefs: make use of ->free_inode()" to our pagecache > > branch (I hope to get it pulled in the next merge window). > > Actually, please don't. > > Exactly because this needs that common vfs patch, I'd really prefer to > get it all through Al's tree, rather than have individual filesystems > apply their own copies of the common infrastructure commit, and then > apply their changes on top of that. > > I can easily handle any trivial conflicts this causes, so that's not a > reason to have each filesystem do it either. > > So if this is at the top of your tree, can you just "git reset" it > away and I'll get all the filesystems (and the common infrastructure > commit) all together from Al. What's more, seeing the changes in orangefs tree I would rather have static void orangefs_free_inode(struct inode *inode) { struct orangefs_inode_s *orangefs_inode = ORANGEFS_I(inode); kmem_cache_free(orangefs_inode_cache, orangefs_inode); } in that series; not only less noise on merge, but with additional uses of orangefs_inode in the body from orangefs tree changes keeping the local variable clearly makes sense...