1. 11 7月, 2006 3 次提交
    • S
      [GFS2] Fix deadlock in memory allocation · f3bba03f
      Steven Whitehouse 提交于
      We must not call GFP_KERNEL memory allocations while we
      are holding the log lock (read or write) since that may
      trigger a log flush resulting in a deadlock.
      
      Eventually we need to fix the locking in log.c, for now
      this solves the problem at the expense of freeing up memory
      as fast as we would like to. This needs to be revisited
      later on.
      
      Cc: Kevin Anderson <kanderso@redhat.com>
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      f3bba03f
    • S
      [GFS2] Add generation number · 4340fe62
      Steven Whitehouse 提交于
      This adds a generation number for the eventual use of NFS to the
      ondisk inode. Its backward compatible with the current code since
      it doesn't really matter what the generation number is to start with,
      and indeed since its set to zero, due to it being taken from padding
      in both the inode and rgrp header, it should be fine.
      
      The eventual plan is to use this rather than no_formal_ino in the
      NFS filehandles. At that point no_formal_ino will be unused.
      
      At the same time we also add a releasepages call back to the
      "normal" address space for gfs2 inodes. Also I've removed a
      one-linrer function thats not required any more.
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      4340fe62
    • S
      [GFS2] Bug fix to gfs2_readpages() · ffeb874b
      Steven Whitehouse 提交于
      This fixes a bug where we were releasing a page incorrectly
      sometimes when reading a stuffed file. This fixes the bug
      that Kevin reported when using Xen.
      
      Cc: Kevin Anderson <kanderso@redhat.com>
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      ffeb874b
  2. 10 7月, 2006 1 次提交
  3. 07 7月, 2006 1 次提交
  4. 06 7月, 2006 35 次提交