From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966471AbdEWHjp (ORCPT ); Tue, 23 May 2017 03:39:45 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:51122 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966457AbdEWHjm (ORCPT ); Tue, 23 May 2017 03:39:42 -0400 Date: Tue, 23 May 2017 00:39:41 -0700 From: Christoph Hellwig To: Shaohua Li Cc: linux-kernel@vger.kernel.org, tj@kernel.org, gregkh@linuxfoundation.org, viro@zeniv.linux.org.uk, Kernel-team@fb.com Subject: Re: [PATCH 0/5] kernfs: add exportfs operations Message-ID: <20170523073941.GB29525@infradead.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.0 (2017-02-23) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 22, 2017 at 03:53:04PM -0700, Shaohua Li wrote: > Hi, > > The goal isn't to export kernfs to NFS. The intention is to make tracing cgroup > aware. To do this, tracing will record an id for cgroup and use the id to find > cgroup name later. The best id is the cgroup directory inode number. Further to > filter out stale cgroup directory, fhandle is the best to identify a cgroup. So > this is what this series try to do. Eww. Even if you need to maintain i_generation for that please don't add the full export_operations. People will just get stupid ideas based on that.