public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/34] vfs: atomic open v3
@ 2012-04-05 14:58 Miklos Szeredi
  2012-04-05 14:58 ` [PATCH 01/34] vfs: split do_lookup() Miklos Szeredi
                   ` (33 more replies)
  0 siblings, 34 replies; 38+ messages in thread
From: Miklos Szeredi @ 2012-04-05 14:58 UTC (permalink / raw)
  To: viro; +Cc: linux-fsdevel, linux-kernel, hch, mszeredi

This series allows clean implementation of atomic lookup+(create)+open
operations that previously were done via ->lookup and ->create using open
intents.

Changes from the last version:

 - fixed some bugs
 - pulled the EOPENSTALE patches towards the head of the queue
 - split up some patches for easier reviewability

git tree is here:

  git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git atomic-open.v3

Thanks,
Miklos
---


Miklos Szeredi (34):
      vfs: split do_lookup()
      vfs: do_last(): make exit RCU safe
      vfs: do_last(): inline walk_component()
      vfs: do_last(): use inode variable
      vfs: make follow_link check RCU safe
      vfs: do_last(): make ENOENT exit RCU safe
      vfs: do_last(): check LOOKUP_DIRECTORY
      vfs: do_last(): only return EISDIR for O_CREAT
      vfs: do_last(): add audit_inode before open
      vfs: do_last() common post lookup
      vfs: split __dentry_open()
      vfs: do_dentry_open(): don't put filp
      vfs: nameidata_to_filp(): inline __dentry_open()
      vfs: nameidata_to_filp(): don't throw away file on error
      vfs: retry last component if opening stale dentry
      nfs: don't open in ->d_revalidate
      vfs: do_last(): inline lookup_slow()
      vfs: do_last(): separate O_CREAT specific code
      vfs: do_last(): common slow lookup
      vfs: add lookup_open()
      vfs: lookup_open(): expand lookup_hash()
      vfs: add i_op->atomic_open()
      nfs: implement i_op->atomic_open()
      nfs: clean up ->create in nfs_rpc_ops
      nfs: don't use nd->intent.open.flags
      nfs: don't use intents for checking atomic open
      fuse: implement i_op->atomic_create()
      cifs: implement i_op->atomic_open() and i_op->atomic_create()
      ceph: remove unused arg from ceph_lookup_open()
      ceph: implement i_op->atomic_open() and i_op->atomic_create()
      9p: implement i_op->atomic_create()
      vfs: remove open intents from nameidata
      vfs: do_last(): clean up error handling
      vfs: move O_DIRECT check to common code

---
 fs/9p/vfs_inode.c       |  169 +++++++++------
 fs/9p/vfs_inode_dotl.c  |   52 +++--
 fs/ceph/dir.c           |   68 ++++---
 fs/ceph/file.c          |   22 +-
 fs/ceph/super.h         |    6 +-
 fs/cifs/cifsfs.c        |    1 +
 fs/cifs/cifsfs.h        |    3 +
 fs/cifs/dir.c           |  437 +++++++++++++++++++++-----------------
 fs/fuse/dir.c           |   97 ++++++---
 fs/internal.h           |    9 +-
 fs/namei.c              |  553 +++++++++++++++++++++++++++++++++++------------
 fs/nfs/dir.c            |  298 +++++++++-----------------
 fs/nfs/file.c           |   77 +++++++-
 fs/nfs/nfs3proc.c       |    2 +-
 fs/nfs/nfs4proc.c       |   37 +---
 fs/nfs/proc.c           |    2 +-
 fs/open.c               |  123 +++++------
 include/linux/errno.h   |    1 +
 include/linux/fs.h      |    7 +
 include/linux/namei.h   |   11 -
 include/linux/nfs_xdr.h |    2 +-
 21 files changed, 1190 insertions(+), 787 deletions(-)



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

end of thread, other threads:[~2012-04-05 15:53 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-05 14:58 [PATCH 00/34] vfs: atomic open v3 Miklos Szeredi
2012-04-05 14:58 ` [PATCH 01/34] vfs: split do_lookup() Miklos Szeredi
2012-04-05 14:58 ` [PATCH 02/34] vfs: do_last(): make exit RCU safe Miklos Szeredi
2012-04-05 14:58 ` [PATCH 03/34] vfs: do_last(): inline walk_component() Miklos Szeredi
2012-04-05 14:58 ` [PATCH 04/34] vfs: do_last(): use inode variable Miklos Szeredi
2012-04-05 14:58 ` [PATCH 05/34] vfs: make follow_link check RCU safe Miklos Szeredi
2012-04-05 14:58 ` [PATCH 06/34] vfs: do_last(): make ENOENT exit " Miklos Szeredi
2012-04-05 14:58 ` [PATCH 07/34] vfs: do_last(): check LOOKUP_DIRECTORY Miklos Szeredi
2012-04-05 14:58 ` [PATCH 08/34] vfs: do_last(): only return EISDIR for O_CREAT Miklos Szeredi
2012-04-05 14:58 ` [PATCH 09/34] vfs: do_last(): add audit_inode before open Miklos Szeredi
2012-04-05 14:58 ` [PATCH 10/34] vfs: do_last() common post lookup Miklos Szeredi
2012-04-05 14:58 ` [PATCH 11/34] vfs: split __dentry_open() Miklos Szeredi
2012-04-05 14:58 ` [PATCH 12/34] vfs: do_dentry_open(): don't put filp Miklos Szeredi
2012-04-05 14:58 ` [PATCH 13/34] vfs: nameidata_to_filp(): inline __dentry_open() Miklos Szeredi
2012-04-05 14:58 ` [PATCH 14/34] vfs: nameidata_to_filp(): don't throw away file on error Miklos Szeredi
2012-04-05 14:58 ` [PATCH 15/34] vfs: retry last component if opening stale dentry Miklos Szeredi
2012-04-05 14:58 ` [PATCH 16/34] nfs: don't open in ->d_revalidate Miklos Szeredi
2012-04-05 15:34   ` Christoph Hellwig
2012-04-05 14:58 ` [PATCH 17/34] vfs: do_last(): inline lookup_slow() Miklos Szeredi
2012-04-05 14:58 ` [PATCH 18/34] vfs: do_last(): separate O_CREAT specific code Miklos Szeredi
2012-04-05 14:58 ` [PATCH 19/34] vfs: do_last(): common slow lookup Miklos Szeredi
2012-04-05 14:58 ` [PATCH 20/34] vfs: add lookup_open() Miklos Szeredi
2012-04-05 14:58 ` [PATCH 21/34] vfs: lookup_open(): expand lookup_hash() Miklos Szeredi
2012-04-05 14:58 ` [PATCH 22/34] vfs: add i_op->atomic_open() Miklos Szeredi
2012-04-05 14:58 ` [PATCH 23/34] nfs: implement i_op->atomic_open() Miklos Szeredi
2012-04-05 14:58 ` [PATCH 24/34] nfs: clean up ->create in nfs_rpc_ops Miklos Szeredi
2012-04-05 14:58 ` [PATCH 25/34] nfs: don't use nd->intent.open.flags Miklos Szeredi
2012-04-05 14:58 ` [PATCH 26/34] nfs: don't use intents for checking atomic open Miklos Szeredi
2012-04-05 14:58 ` [PATCH 27/34] fuse: implement i_op->atomic_create() Miklos Szeredi
2012-04-05 15:41   ` Christoph Hellwig
2012-04-05 15:53     ` Miklos Szeredi
2012-04-05 14:58 ` [PATCH 28/34] cifs: implement i_op->atomic_open() and i_op->atomic_create() Miklos Szeredi
2012-04-05 14:58 ` [PATCH 29/34] ceph: remove unused arg from ceph_lookup_open() Miklos Szeredi
2012-04-05 14:58 ` [PATCH 30/34] ceph: implement i_op->atomic_open() and i_op->atomic_create() Miklos Szeredi
2012-04-05 14:58 ` [PATCH 31/34] 9p: implement i_op->atomic_create() Miklos Szeredi
2012-04-05 14:58 ` [PATCH 32/34] vfs: remove open intents from nameidata Miklos Szeredi
2012-04-05 14:58 ` [PATCH 33/34] vfs: do_last(): clean up error handling Miklos Szeredi
2012-04-05 14:59 ` [PATCH 34/34] vfs: move O_DIRECT check to common code Miklos Szeredi

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