[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170523190636.GD13222@htj.duckdns.org>
Date: Tue, 23 May 2017 15:06:36 -0400
From: Tejun Heo <tj@...nel.org>
To: Shaohua Li <shli@...com>
Cc: linux-kernel@...r.kernel.org, gregkh@...uxfoundation.org,
viro@...iv.linux.org.uk, Kernel-team@...com
Subject: Re: [PATCH 0/5] kernfs: add exportfs operations
Hello,
On Mon, May 22, 2017 at 03:53:04PM -0700, Shaohua Li wrote:
> 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.
Generally looks good to me. Had some review points in other replies.
There is a related issue which can be a nice follow-up - replacing
cgrp->id with kernfs's fid. cgrp->id is allocated on its own idr and
its only use is to accelerate testing for ancestry and we can easily
replace that with the unique file id.
Thanks a lot!
--
tejun
Powered by blists - more mailing lists