From: Tejun Heo <tj@kernel.org>
To: gregkh@linuxfoundation.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCHSET v2 driver-core-next] kernfs: prepare for cgroup's kernfs conversion
Date: Mon, 3 Feb 2014 14:09:07 -0500 [thread overview]
Message-ID: <1391454557-32376-1-git-send-email-tj@kernel.org> (raw)
Hello,
This patchset makes various updates in preparation of cgroup's kernfs
conversion. Changes from the last take[L] are
* Refreshed on top of v3.14-rc1.
* 0010-kernfs-add-CONFIG_KERNFS.patch added.
This patchset contains the following 10 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
0010-kernfs-add-CONFIG_KERNFS.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.
0010 adds CONFIG_KERNFS so that kernfs can be selected independently
from sysfs.
This patchset is on top of
v3.14-rc1 38dbfb59d117
+ [1] [PATCHSET v5 driver-core-next] kernfs, sysfs, driver-core: implement synchronous self-removal
diffstat follows.
fs/Kconfig | 1
fs/Makefile | 3
fs/kernfs/Kconfig | 7 +
fs/kernfs/dir.c | 325 ++++++++++++++++++++++++++++++++++++++++++++-----
fs/kernfs/file.c | 49 ++++---
fs/kernfs/mount.c | 37 +++++
fs/sysfs/Kconfig | 1
fs/sysfs/dir.c | 44 +-----
fs/sysfs/mount.c | 2
include/linux/kernfs.h | 90 +++++++++++--
10 files changed, 460 insertions(+), 99 deletions(-)
Thanks!
--
tejun
[L] http://lkml.kernel.org/g/1390951971-15671-1-git-send-email-tj@kernel.org
[1] http://lkml.kernel.org/g/1391454185-32143-1-git-send-email-tj@kernel.org
next reply other threads:[~2014-02-03 19:09 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-03 19:09 Tejun Heo [this message]
2014-02-03 19:09 ` [PATCH 01/10] kernfs: invoke dir_ops while holding active ref of the target node Tejun Heo
2014-02-03 19:09 ` [PATCH 02/10] kernfs: rename kernfs_dir_ops to kernfs_syscall_ops Tejun Heo
2014-02-03 19:09 ` [PATCH 03/10] kernfs: implement kernfs_syscall_ops->remount_fs() and ->show_options() Tejun Heo
2014-02-03 19:09 ` [PATCH 04/10] kernfs: add missing kernfs_active() checks in directory operations Tejun Heo
2014-02-03 19:09 ` [PATCH 05/10] kernfs: allow nodes to be created in the deactivated state Tejun Heo
2014-02-03 19:09 ` [PATCH 06/10] kernfs: implement kernfs_ops->atomic_write_len Tejun Heo
2014-02-03 19:09 ` [PATCH 07/10] kernfs: add kernfs_open_file->priv Tejun Heo
2014-02-03 19:09 ` [PATCH 08/10] kernfs: implement kernfs_node_from_dentry(), kernfs_root_from_sb() and kernfs_rename() Tejun Heo
2014-02-03 19:09 ` [PATCH 09/10] kernfs: implement kernfs_get_parent(), kernfs_name/path() and friends Tejun Heo
2014-02-07 18:40 ` [PATCH v2 " Tejun Heo
2014-02-03 19:09 ` [PATCH 10/10] kernfs: add CONFIG_KERNFS Tejun Heo
2014-02-07 18:41 ` [PATCH 9.5/10] sysfs, kobject: add sysfs wrapper for kernfs_enable_ns() Tejun Heo
2014-02-07 18:43 ` [PATCHSET v2 driver-core-next] kernfs: prepare for cgroup's kernfs conversion Tejun Heo
2014-02-08 0:12 ` Greg KH
2014-02-08 15:07 ` Tejun Heo
2014-02-08 15:08 ` Tejun Heo
2014-02-08 18:17 ` Greg KH
2014-02-08 18:17 ` Tejun Heo
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=1391454557-32376-1-git-send-email-tj@kernel.org \
--to=tj@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.