1. 27 4月, 2006 1 次提交
    • S
      [GFS2] Don't do recursive locking in glock layer · 5965b1f4
      Steven Whitehouse 提交于
      This patch changes the last user of recursive locking so that
      it no longer needs this feature and removes it from the glock
      layer. This makes the glock code a lot simpler and easier to
      understand. Its also a prerequsite to adding support for the
      AOP_TRUNCATED_PAGE return code (or at least it is if you don't
      want your brain to melt in the process)
      
      I've left in a couple of checks just in case there is some place
      else in the code which is still using this feature that I didn't
      spot yet, but they can probably be removed long term.
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      5965b1f4
  2. 21 4月, 2006 1 次提交
  3. 18 4月, 2006 1 次提交
    • S
      [GFS2] Use vmalloc() in dir code · fe1bdedc
      Steven Whitehouse 提交于
      When allocating memory to sort directory entries, use vmalloc()
      rather than kmalloc() since for larger directories, the required
      size can easily be graeter than the 128k maximum of kmalloc().
      
      Also adding the first steps towards getting the AOP_TRUNCATED_PAGE
      return code get in the glock code by flagging all places where we
      request a glock and we are holding a page lock.
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      fe1bdedc
  4. 30 3月, 2006 1 次提交
    • S
      [GFS2] Update debugging code · d0dc80db
      Steven Whitehouse 提交于
      Update the debugging code in trans.c and at the same time improve
      the debugging code for gfs2_holders. The new code should be pretty
      fast during the normal case and provide just as much information
      in case of errors (or more).
      
      One small function from glock.c has moved to glock.h as a static inline so
      that its return address won't get in the way of the debugging.
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      d0dc80db
  5. 28 2月, 2006 1 次提交
    • S
      [GFS2] Macros removal in gfs2.h · 5c676f6d
      Steven Whitehouse 提交于
      As suggested by Pekka Enberg <penberg@cs.helsinki.fi>.
      
      The DIV_RU macro is renamed DIV_ROUND_UP and and moved to kernel.h
      The other macros are gone from gfs2.h as (although not requested
      by Pekka Enberg) are a number of included header file which are now
      included individually. The inode number comparison function is
      now an inline function.
      
      The DT2IF and IF2DT may be addressed in a future patch.
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      5c676f6d
  6. 27 2月, 2006 1 次提交
  7. 23 2月, 2006 2 次提交
  8. 21 2月, 2006 1 次提交
  9. 17 1月, 2006 1 次提交