An error occurred fetching the project authors.
  1. 08 Jan, 2005 1 commit
    • Thomas Gleixner's avatar
      [PATCH] Lock initializer unifying: Filesystems · 668adbc9
      Thomas Gleixner authored
      To make spinlock/rwlock initialization consistent all over the kernel,
      this patch converts explicit lock-initializers into spin_lock_init() and
      rwlock_init() calls.
      
      Currently, spinlocks and rwlocks are initialized in two different ways:
      
        lock = SPIN_LOCK_UNLOCKED
        spin_lock_init(&lock)
      
        rwlock = RW_LOCK_UNLOCKED
        rwlock_init(&rwlock)
      
      this patch converts all explicit lock initializations to
      spin_lock_init() or rwlock_init(). (Besides consistency this also helps
      automatic lock validators and debugging code.)
      
      The conversion was done with a script, it was verified manually and it
      was reviewed, compiled and tested as far as possible on x86, ARM, PPC.
      
      There is no runtime overhead or actual code change resulting out of this
      patch, because spin_lock_init() and rwlock_init() are macros and are
      thus equivalent to the explicit initialization method.
      
      That's the second batch of the unifying patches.
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Acked-by: default avatarIngo Molnar <mingo@elte.hu>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      668adbc9
  2. 15 Dec, 2004 1 commit
  3. 12 Dec, 2004 1 commit
  4. 11 Dec, 2004 2 commits
  5. 09 Dec, 2004 1 commit
  6. 07 Dec, 2004 1 commit
  7. 02 Dec, 2004 1 commit
  8. 01 Dec, 2004 1 commit
  9. 30 Nov, 2004 3 commits
  10. 28 Nov, 2004 1 commit
  11. 25 Nov, 2004 1 commit
  12. 19 Oct, 2004 1 commit
    • Christoph Hellwig's avatar
      [PATCH] generic acl support for ->permission · 42017c2e
      Christoph Hellwig authored
      Currently we every filesystem with Posix ACLs has it's own reimplemtation
      of the generic permission checking code with additonal ACL support.  This
      patch
      
      - adds an optional callback to vfs_permission that filesystems can use
        for ACL support (and renames it to generic_permission because the old
        name was wrong - it wasn't like the other vfs_* functions at all)
      
      - uses it in ext2, ext3 and jfs.  XFS will follow a little later as it's
        permission checking is burried under several layers of abstraction.
      
      From: Dave Kleikamp <shaggy@austin.ibm.com>
      
        jfs doesn't currently set MS_POSIXACL (it doesn't require the acl mount
        option), so this test would fail here.  The patch below will set it.
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      42017c2e
  13. 01 Sep, 2004 1 commit
  14. 31 Aug, 2004 1 commit
  15. 26 Aug, 2004 2 commits
  16. 24 Aug, 2004 1 commit
    • Anton Blanchard's avatar
      [PATCH] remove cacheline alignment from inode slabs · 597648bb
      Anton Blanchard authored
      Most of the inode slabs are cacheline aligned.  This can waste a fair
      amount of memory, especially on architectures with large cacheline sizes
      (eg 128 bytes).
      
      Alignment has a few advantages.  It prevents 2 cpus from accessing 2 data
      structures in the same cacheline.  Since struct inodes are well over a
      cacheline and there are so many of them, there is little chance we will hit
      this problem if we remove the alignment.  
      
      Alignment also ensures the maximum amount of the data structure is in the
      same cacheline (instead of straddling 2 for example).  The large size of
      struct inode reduces this advantage.
      
      With this patch the inode_cache slab goes from 640 bytes to 544 bytes, and
      the number that fits in a 4kB slab goes from 6 to 7 on ppc64.  A number of
      other inode slabs also see improvements.
      Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      597648bb
  17. 13 Aug, 2004 1 commit
    • Matthew Wilcox's avatar
      [PATCH] Remove fcntl f_op · 401f0fbd
      Matthew Wilcox authored
      The newly introduced ->fcntl file_operation is badly thought out,
      not to mention undocumented.  This patch replaces it with two better
      defined operations -- check_flags and dir_notify.  Any other fcntl()s
      that filesystems are interested in can have their own properly typed
      f_op method when they need it.
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      401f0fbd
  18. 28 Jul, 2004 1 commit
  19. 18 Jul, 2004 1 commit
  20. 05 Jul, 2004 1 commit
  21. 10 Jun, 2004 1 commit
  22. 27 May, 2004 1 commit
  23. 17 May, 2004 2 commits
  24. 01 May, 2004 1 commit
  25. 26 Apr, 2004 1 commit
  26. 22 Apr, 2004 1 commit
  27. 19 Apr, 2004 1 commit
  28. 16 Apr, 2004 2 commits
  29. 15 Apr, 2004 1 commit
  30. 14 Apr, 2004 1 commit
  31. 06 Apr, 2004 1 commit
  32. 26 Mar, 2004 1 commit
  33. 25 Mar, 2004 1 commit
  34. 12 Mar, 2004 1 commit
    • Andrew Morton's avatar
      [PATCH] readdir() cleanups · 724feb8d
      Andrew Morton authored
      From: <viro@parcelfarce.linux.theplanet.co.uk>
      
      cramfs and freevxfs explicitly mark themselves readonly (as other r/o fs
      do).
      
      afs marked noatime (ACKed by maintainer)
      
      filesystems that do not do update_atime() in their ->readdir() had been
      explicitly marked nodiratime.  NOTE: cifs, coda and ncpfs almost certainly
      need full noatime as we currently have in nfs and afs.
      
      update_atime() call shifted to callers of ->readdir() and out of
      ->readdir() instances.  Bugs caught:
      
        dcache_readdir() updated atime only if it reached EOF.
      
        bfs_readdir() - ditto.
      
        qnx4_readdir() - ditto.
      724feb8d