Diff for /xfs-linux/xfs_mount.c between versions 1.399 and 1.400

version 1.399, 2007/08/02 16:07:51 version 1.400, 2007/08/02 16:09:24
Line 885  xfs_mountfs( Line 885  xfs_mountfs(
         mp->m_writeio_blocks = 1 << (mp->m_writeio_log - sbp->sb_blocklog);          mp->m_writeio_blocks = 1 << (mp->m_writeio_log - sbp->sb_blocklog);
   
         /*          /*
          * Set the inode cluster size based on the physical memory           * Set the inode cluster size.
          * size.  This may still be overridden by the file system           * This may still be overridden by the file system
          * block size if it is larger than the chosen cluster size.           * block size if it is larger than the chosen cluster size.
          */           */
         if (xfs_physmem <= btoc(32 * 1024 * 1024)) { /* <= 32 MB */          mp->m_inode_cluster_size = XFS_INODE_BIG_CLUSTER_SIZE;
                 mp->m_inode_cluster_size = XFS_INODE_SMALL_CLUSTER_SIZE;  
         } else {  
                 mp->m_inode_cluster_size = XFS_INODE_BIG_CLUSTER_SIZE;  
         }  
         /*          /*
          * Set whether we're using inode alignment.           * Set whether we're using inode alignment.
          */           */

Removed from v.1.399  
changed lines
  Added in v.1.400


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>