From: Tejun Heo <tj@kernel.org>
To: Shaohua Li <shli@fb.com>
Cc: linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org,
viro@zeniv.linux.org.uk, Kernel-team@fb.com
Subject: Re: [PATCH 0/5] kernfs: add exportfs operations
Date: Tue, 23 May 2017 15:06:36 -0400 [thread overview]
Message-ID: <20170523190636.GD13222@htj.duckdns.org> (raw)
In-Reply-To: <cover.1495490800.git.shli@fb.com>
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
prev parent reply other threads:[~2017-05-23 19:06 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-22 22:53 [PATCH 0/5] kernfs: add exportfs operations Shaohua Li
2017-05-22 22:53 ` [PATCH 1/5] kernfs: implement i_generation Shaohua Li
2017-05-23 7:41 ` Christoph Hellwig
2017-05-23 15:09 ` Shaohua Li
2017-05-23 19:20 ` Tejun Heo
2017-05-24 17:40 ` Christoph Hellwig
2017-05-22 22:53 ` [PATCH 2/5] kernfs: use idr instead of ida to manage inode number Shaohua Li
2017-05-22 22:53 ` [PATCH 3/5] kernfs: add an API to get kernfs node from " Shaohua Li
2017-05-22 22:53 ` [PATCH 4/5] kernfs: don't set dentry->d_fsdata Shaohua Li
2017-05-23 18:37 ` Tejun Heo
2017-05-22 22:53 ` [PATCH 5/5] kernfs: add exportfs operations Shaohua Li
2017-05-23 7:40 ` Christoph Hellwig
2017-05-23 18:57 ` Tejun Heo
2017-05-24 17:38 ` Christoph Hellwig
2017-05-24 17:39 ` Tejun Heo
2017-05-24 17:41 ` Christoph Hellwig
2017-05-24 17:46 ` Tejun Heo
2017-05-24 18:01 ` Shaohua Li
2017-05-23 18:59 ` Tejun Heo
2017-05-23 7:39 ` [PATCH 0/5] " Christoph Hellwig
2017-05-23 15:13 ` Shaohua Li
2017-05-23 19:06 ` Tejun Heo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170523190636.GD13222@htj.duckdns.org \
--to=tj@kernel.org \
--cc=Kernel-team@fb.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=shli@fb.com \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox