lkml.org 
[lkml]   [2017]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] kernfs: add exportfs operations
Date
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.

Thanks,
Shaohua

Shaohua Li (5):
kernfs: implement i_generation
kernfs: use idr instead of ida to manage inode number
kernfs: add an API to get kernfs node from inode number
kernfs: don't set dentry->d_fsdata
kernfs: add exportfs operations

fs/kernfs/dir.c | 76 +++++++++++++++++++++++++++++++++------------
fs/kernfs/file.c | 6 ++--
fs/kernfs/inode.c | 7 +++--
fs/kernfs/kernfs-internal.h | 4 +++
fs/kernfs/mount.c | 67 ++++++++++++++++++++++++++++++++++-----
fs/kernfs/symlink.c | 2 +-
include/linux/kernfs.h | 4 ++-
7 files changed, 131 insertions(+), 35 deletions(-)

--
2.9.3

\
 
 \ /
  Last update: 2017-05-23 00:53    [W:0.114 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site