Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1647740

Re: [PATCH 0/5] kernfs: add exportfs operations

From Christoph Hellwig <hch@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH 0/5] kernfs: add exportfs operations
Date 2017-05-23 09:50 +0200
Message-ID <tKcJQ-65-11@gated-at.bofh.it> (permalink)
References <tK4sV-3eD-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/5] kernfs: add exportfs operations Shaohua Li <shli@fb.com> - 2017-05-23 01:00 +0200
  [PATCH 3/5] kernfs: add an API to get kernfs node from inode number Shaohua Li <shli@fb.com> - 2017-05-23 01:00 +0200
  [PATCH 2/5] kernfs: use idr instead of ida to manage inode number Shaohua Li <shli@fb.com> - 2017-05-23 01:00 +0200
  Re: [PATCH 0/5] kernfs: add exportfs operations Christoph Hellwig <hch@infradead.org> - 2017-05-23 09:50 +0200
  Re: [PATCH 0/5] kernfs: add exportfs operations Tejun Heo <tj@kernel.org> - 2017-05-23 21:10 +0200

csiph-web