1. 12 12月, 2009 2 次提交
  2. 01 9月, 2009 1 次提交
  3. 02 7月, 2009 1 次提交
  4. 08 6月, 2009 2 次提交
    • D
      xfs: remove unused parameter from xfs_reclaim_inodes · abc10647
      Dave Chinner 提交于
      The noblock parameter of xfs_reclaim_inodes is only ever set to zero. Remove
      it and all the conditional code that is never executed.
      Signed-off-by: NDave Chinner <david@fromorbit.com>
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Reviewed-by: NEric Sandeen <sandeen@sandeen.net>
      abc10647
    • C
      xfs: kill xfs_qmops · 7d095257
      Christoph Hellwig 提交于
      Kill the quota ops function vector and replace it with direct calls or
      stubs in the CONFIG_XFS_QUOTA=n case.
      
      Make sure we check XFS_IS_QUOTA_RUNNING in the right spots.  We can remove
      the number of those checks because the XFS_TRANS_DQ_DIRTY flag can't be set
      otherwise.
      
      This brings us back closer to the way this code worked in IRIX and earlier
      Linux versions, but we keep a lot of the more useful factoring of common
      code.
      
      Eventually we should also kill xfs_qm_bhv.c, but that's left for a later
      patch.
      
      Reduces the size of the source code by about 250 lines and the size of
      XFS module by about 1.5 kilobytes with quotas enabled:
      
         text	   data	    bss	    dec	    hex	filename
       615957	   2960	   3848	 622765	  980ad	fs/xfs/xfs.o
       617231	   3152	   3848	 624231	  98667	fs/xfs/xfs.o.old
      
      Fallout:
      
       - xfs_qm_dqattach is split into xfs_qm_dqattach_locked which expects
         the inode locked and xfs_qm_dqattach which does the locking around it,
         thus removing XFS_QMOPT_ILOCKED.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Reviewed-by: NEric Sandeen <sandeen@sandeen.net>
      7d095257
  5. 30 4月, 2009 1 次提交
  6. 29 4月, 2009 1 次提交
  7. 30 3月, 2009 2 次提交
  8. 29 3月, 2009 2 次提交
  9. 16 3月, 2009 1 次提交
  10. 04 2月, 2009 2 次提交
  11. 19 1月, 2009 2 次提交
  12. 04 12月, 2008 2 次提交
  13. 01 12月, 2008 1 次提交
    • C
      [XFS] kill xfs_dinode_core_t · 81591fe2
      Christoph Hellwig 提交于
      Now that we have a separate xfs_icdinode_t for the in-core inode which
      gets logged there is no need anymore for the xfs_dinode vs xfs_dinode_core
      split - the fact that part of the structure gets logged through the inode
      log item and a small part not can better be described in a comment.
      
      All sizeof operations on the dinode_core either really wanted the
      icdinode and are switched to that one, or had already added the size
      of the agi unlinked list pointer.  Later both will be replaced with
      helpers once we get the larger CRC-enabled dinode.
      
      Removing the data and attribute fork unions also has the advantage that
      xfs_dinode.h doesn't need to pull in every header under the sun.
      
      While we're at it also add some more comments describing the dinode
      structure.
      
      (First sent on October 7th)
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Reviewed-by: NDave Chinner <david@fromorbit.com>
      Signed-off-by: NNiv Sardi <xaiki@sgi.com>
      81591fe2
  14. 10 11月, 2008 1 次提交
  15. 30 10月, 2008 6 次提交
  16. 13 8月, 2008 8 次提交
  17. 28 7月, 2008 5 次提交