[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150316043602.23648.52734.stgit@notabene.brown>
Date: Mon, 16 Mar 2015 15:43:19 +1100
From: NeilBrown <neilb@...e.de>
To: Al Viro <viro@...IV.linux.org.uk>
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 00/13] Support follow_link in RCU-walk. - V2
Hi Al,
I believe this series addresses all your concerns about
my first attempt.
The first patch results in nameidata being almost completely
localized to namei.c :-) It also highlights out-of-date
documentation in automount-support.txt :-(
It also exposes (and removes) some ... interesting code in lustre.
I'm not sure how safe it is to remove that.... I didn't think
recursive symlinks used extra stack.
I haven't tested extensively yet but will do that before a "final"
submission.
If you could confirm that I'm moving in the right direction, I would
appreciate it.
Thanks,
NeilBrown
---
NeilBrown (13):
VFS: replace {,total_}link_count in task_struct with pointer to nameidata
VFS: make all ->follow_link handlers aware for LOOKUP_RCU
VFS: remove nameidata args from ->follow_link and ->put_link
security/selinux: check for LOOKUP_RCU in _follow_link.
VFS/namei: use terminate_walk when symlink lookup fails.
VFS/namei: new flag to support RCU symlinks: LOOKUP_LINK_RCU.
VFS/namei: abort RCU-walk on symlink if atime needs updating.
VFS/namei: enhance follow_link to support RCU-walk.
VFS/namei: enable RCU-walk when following symlinks.
VFS/namei: handle LOOKUP_RCU in page_follow_link_light.
xfs: use RCU to free 'struct xfs_mount'.
XFS: allow follow_link to often succeed in RCU-walk.
NFS: support LOOKUP_RCU in nfs_follow_link.
Documentation/filesystems/Locking | 4
Documentation/filesystems/automount-support.txt | 3
Documentation/filesystems/porting | 5 +
Documentation/filesystems/vfs.txt | 4
drivers/staging/lustre/lustre/llite/symlink.c | 25 +--
fs/9p/v9fs.h | 3
fs/9p/vfs_inode.c | 17 +-
fs/9p/vfs_inode_dotl.c | 11 +
fs/autofs4/symlink.c | 4
fs/befs/linuxvfs.c | 14 +-
fs/ceph/inode.c | 4
fs/cifs/cifsfs.h | 2
fs/cifs/link.c | 6 -
fs/configfs/symlink.c | 16 +-
fs/debugfs/file.c | 4
fs/ecryptfs/inode.c | 13 +
fs/exofs/symlink.c | 4
fs/ext2/symlink.c | 4
fs/ext3/symlink.c | 4
fs/ext4/symlink.c | 4
fs/freevxfs/vxfs_immed.c | 8 -
fs/fuse/dir.c | 10 +
fs/gfs2/inode.c | 10 +
fs/hostfs/hostfs_kern.c | 15 +-
fs/hppfs/hppfs.c | 9 -
fs/inode.c | 26 ++-
fs/jffs2/symlink.c | 6 -
fs/jfs/symlink.c | 4
fs/kernfs/symlink.c | 16 +-
fs/libfs.c | 5 -
fs/namei.c | 214 +++++++++++++++--------
fs/nfs/inode.c | 22 ++
fs/nfs/symlink.c | 24 ++-
fs/ntfs/namei.c | 1
fs/overlayfs/inode.c | 13 +
fs/proc/base.c | 6 -
fs/proc/inode.c | 6 -
fs/proc/namespaces.c | 7 +
fs/proc/self.c | 11 +
fs/proc/thread_self.c | 14 +-
fs/sysv/symlink.c | 4
fs/ubifs/file.c | 4
fs/ufs/symlink.c | 4
fs/xfs/xfs_ioctl.c | 2
fs/xfs/xfs_iops.c | 19 +-
fs/xfs/xfs_mount.h | 2
fs/xfs/xfs_super.c | 2
fs/xfs/xfs_symlink.c | 11 +
fs/xfs/xfs_symlink.h | 2
include/linux/fs.h | 12 +
include/linux/namei.h | 8 -
include/linux/nfs_fs.h | 1
include/linux/sched.h | 3
include/linux/security.h | 9 -
mm/shmem.c | 18 +-
security/capability.c | 2
security/security.c | 4
security/selinux/hooks.c | 4
58 files changed, 442 insertions(+), 247 deletions(-)
--
Signature
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists