1. 07 2月, 2008 7 次提交
  2. 19 10月, 2007 1 次提交
    • C
      [XFS] cleanup fid types mess · c6143911
      Christoph Hellwig 提交于
      Currently XFs has three different fid types: struct fid, struct xfs_fid
      and struct xfs_fid2 with hte latter two beeing identicaly and the first
      one beeing the same size but an unstructured array with the same size.
      
      This patch consolidates all this to alway uuse struct xfs_fid.
      
      This patch is required for an upcoming patch series from me that revamps
      the nfs exporting code and introduces a Linux-wide struct fid.
      
      SGI-PV: 970336
      SGI-Modid: xfs-linux-melb:xfs-kern:29651a
      Signed-off-by: NChristoph Hellwig <hch@infradead.org>
      Signed-off-by: NLachlan McIlroy <lachlan@sgi.com>
      Signed-off-by: NTim Shimmin <tes@sgi.com>
      c6143911
  3. 16 10月, 2007 8 次提交
  4. 15 10月, 2007 5 次提交
  5. 18 9月, 2007 1 次提交
  6. 19 7月, 2007 2 次提交
  7. 14 7月, 2007 6 次提交
  8. 10 7月, 2007 1 次提交
  9. 08 5月, 2007 6 次提交
  10. 10 2月, 2007 2 次提交
  11. 11 11月, 2006 1 次提交
    • D
      [XFS] Prevent a deadlock when xfslogd unpins inodes. · 4c60658e
      David Chinner 提交于
      The previous fixes for the use after free in xfs_iunpin left a nasty log
      deadlock when xfslogd unpinned the inode and dropped the last reference to
      the inode. the ->clear_inode() method can issue transactions, and if the
      log was full, the transaction could push on the log and get stuck trying
      to push the inode it was currently unpinning.
      
      To fix this, we provide xfs_iunpin a guarantee that it will always have a
      valid xfs_inode <-> linux inode link or a particular flag will be set on
      the inode. We then use log forces during lookup to ensure transactions are
      completed before we recycle the inode. This ensures that xfs_iunpin will
      never use the linux inode after it is being freed, and any lookup on an
      inode on the reclaim list will wait until it is safe to attach a new linux
      inode to the xfs inode.
      
      SGI-PV: 956832
      SGI-Modid: xfs-linux-melb:xfs-kern:27359a
      Signed-off-by: NDavid Chinner <dgc@sgi.com>
      Signed-off-by: NShailendra Tripathi <stripathi@agami.com>
      Signed-off-by: NTakenori Nagano <t-nagano@ah.jp.nec.com>
      Signed-off-by: NTim Shimmin <tes@sgi.com>
      4c60658e