public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET driver-core-next] kernfs: prepare for cgroup's kernfs conversion
@ 2014-01-28 23:32 Tejun Heo
  2014-01-28 23:32 ` [PATCH 1/9] kernfs: invoke dir_ops while holding active ref of the target node Tejun Heo
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Tejun Heo @ 2014-01-28 23:32 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel

Hello,

This patchset makes various updates in preparation of cgroup's kernfs
conversion.  This patchset contains the following 9 patches.

 0001-kernfs-invoke-dir_ops-while-holding-active-ref-of-th.patch
 0002-kernfs-rename-kernfs_dir_ops-to-kernfs_syscall_ops.patch
 0003-kernfs-implement-kernfs_syscall_ops-remount_fs-and-s.patch
 0004-kernfs-add-missing-kernfs_active-checks-in-directory.patch
 0005-kernfs-allow-nodes-to-be-created-in-the-deactivated-.patch
 0006-kernfs-implement-kernfs_ops-atomic_write_len.patch
 0007-kernfs-add-kernfs_open_file-priv.patch
 0008-kernfs-implement-kernfs_node_from_dentry-kernfs_root.patch
 0009-kernfs-implement-kernfs_get_parent-kernfs_name-path-.patch

 0001-0003 update kernfs_dir_ops for active ref protection, add
 additional syscall operations and rename the struct to
 kernfs_syscall_ops.

 0004-0005 implement an option to create new kernfs_nodes in
 deactivated state so that multiple nodes can be made visible
 atomically or removed without ever being visible to userland.

 0006 implements kernfs_ops->atomic_write_len which will be used to
 support cgroup cftype->max_write_len.

 0007 adds kernfs_open_file->priv.

 0008-0009 add various helpers and accessors.

This patchset is on top of

  linus#master 54c0a4b46150 ("Merge branch 'akpm' (incoming from Andrew)")
+ [1] [PATCHSET v4 driver-core-next] kernfs, sysfs, driver-core: implement synchronous

and also available in the following git branch.

 git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git review-kernfs-cgroup-prep

diffstat follows.

 fs/kernfs/dir.c        |  325 ++++++++++++++++++++++++++++++++++++++++++++-----
 fs/kernfs/file.c       |   49 ++++---
 fs/kernfs/mount.c      |   37 +++++
 fs/sysfs/dir.c         |   44 +-----
 fs/sysfs/mount.c       |    2 
 include/linux/kernfs.h |   74 +++++++++--
 6 files changed, 436 insertions(+), 95 deletions(-)

Thanks.

--
tejun

[1] http://lkml.kernel.org/g/<1390951311-15325-1-git-send-email-tj@kernel.org>

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-01-28 23:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-28 23:32 [PATCHSET driver-core-next] kernfs: prepare for cgroup's kernfs conversion Tejun Heo
2014-01-28 23:32 ` [PATCH 1/9] kernfs: invoke dir_ops while holding active ref of the target node Tejun Heo
2014-01-28 23:32 ` [PATCH 2/9] kernfs: rename kernfs_dir_ops to kernfs_syscall_ops Tejun Heo
2014-01-28 23:32 ` [PATCH 3/9] kernfs: implement kernfs_syscall_ops->remount_fs() and ->show_options() Tejun Heo
2014-01-28 23:32 ` [PATCH 4/9] kernfs: add missing kernfs_active() checks in directory operations Tejun Heo
2014-01-28 23:32 ` [PATCH 5/9] kernfs: allow nodes to be created in the deactivated state Tejun Heo
2014-01-28 23:32 ` [PATCH 6/9] kernfs: implement kernfs_ops->atomic_write_len Tejun Heo
2014-01-28 23:32 ` [PATCH 7/9] kernfs: add kernfs_open_file->priv Tejun Heo
2014-01-28 23:32 ` [PATCH 8/9] kernfs: implement kernfs_node_from_dentry(), kernfs_root_from_sb() and kernfs_rename() Tejun Heo
2014-01-28 23:32 ` [PATCH 9/9] kernfs: implement kernfs_get_parent(), kernfs_name/path() and friends Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox