1. 10 7月, 2008 2 次提交
    • C
      SUNRPC: Use only rpcbind v2 for AF_INET requests · 40fef8a6
      Chuck Lever 提交于
      Some server vendors support the higher versions of rpcbind only for
      AF_INET6.  The kernel doesn't need to use v3 or v4 for AF_INET anyway,
      so change the kernel's rpcbind client to query AF_INET servers over
      rpcbind v2 only.
      
      This has a few interesting benefits:
      
      1. If the rpcbind request is going over TCP, and the server doesn't
         support rpcbind versions 3 or 4, the client reduces by two the number
         of ephemeral ports left in TIME_WAIT for each rpcbind request.  This
         will help during NFS mount storms.
      
      2. The rpcbind interaction with servers that don't support rpcbind
         versions 3 or 4 will use less network traffic.  Also helpful
         during mount storms.
      
      3. We can eliminate the kernel build option that controls whether the
         kernel's rpcbind client uses rpcbind version 3 and 4 for AF_INET
         servers.  Less complicated kernel configuration...
      Signed-off-by: NChuck Lever <chuck.lever@oracle.com>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      40fef8a6
    • C
      NFS: Update help text for CONFIG_NFS_FS · 6fb1bc10
      Chuck Lever 提交于
      Clean up: refresh the help text for Kconfig items related to the NFS
      client.  Remove obsolete URLs, and make the language consistent among
      the options.
      
      Also move the ROOT_NFS config option next to the options related to the
      NFS client.
      Signed-off-by: NChuck Lever <chuck.lever@oracle.com>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      6fb1bc10
  2. 05 7月, 2008 1 次提交
  3. 30 4月, 2008 1 次提交
  4. 24 4月, 2008 8 次提交
  5. 18 4月, 2008 1 次提交
  6. 17 4月, 2008 1 次提交
  7. 12 4月, 2008 1 次提交
  8. 20 3月, 2008 3 次提交
  9. 08 2月, 2008 2 次提交
  10. 06 2月, 2008 1 次提交
  11. 02 2月, 2008 1 次提交
  12. 29 1月, 2008 1 次提交
    • G
      ext4: Add the journal checksum feature · 818d276c
      Girish Shilamkar 提交于
      The journal checksum feature adds two new flags i.e
      JBD2_FEATURE_INCOMPAT_ASYNC_COMMIT and JBD2_FEATURE_COMPAT_CHECKSUM.
      
      JBD2_FEATURE_CHECKSUM flag indicates that the commit block contains the
      checksum for the blocks described by the descriptor blocks.
      Due to checksums, writing of the commit record no longer needs to be
      synchronous. Now commit record can be sent to disk without waiting for
      descriptor blocks to be written to disk. This behavior is controlled
      using JBD2_FEATURE_ASYNC_COMMIT flag. Older kernels/e2fsck should not be
      able to recover the journal with _ASYNC_COMMIT hence it is made
      incompat.
      The commit header has been extended to hold the checksum along with the
      type of the checksum.
      
      For recovery in pass scan checksums are verified to ensure the sanity
      and completeness(in case of _ASYNC_COMMIT) of every transaction.
      Signed-off-by: NAndreas Dilger <adilger@clusterfs.com>
      Signed-off-by: NGirish Shilamkar <girish@clusterfs.com>
      Signed-off-by: NDave Kleikamp <shaggy@linux.vnet.ibm.com>
      Signed-off-by: NMingming Cao <cmm@us.ibm.com>
      818d276c
  13. 26 1月, 2008 3 次提交
  14. 23 1月, 2008 1 次提交
  15. 10 1月, 2008 1 次提交
  16. 18 12月, 2007 1 次提交
  17. 28 11月, 2007 1 次提交
  18. 03 11月, 2007 1 次提交
    • J
      [CIFS] implement upcalls for SPNEGO blob via keyctl API · 09fe7ba7
      Jeff Layton 提交于
      Add routines to handle upcalls to userspace via keyctl for the purpose
      of getting a SPNEGO blob for a particular uid and server combination.
      
      Clean up the Makefile a bit and set it up to only compile cifs_spnego
      if CONFIG_CIFS_UPCALL is set. Also change CONFIG_CIFS_UPCALL to depend
      on CONFIG_KEYS rather than CONFIG_CONNECTOR.
      
      cifs_spnego.h defines the communications between kernel and userspace
      and is intended to be shared with userspace programs.
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      09fe7ba7
  19. 31 10月, 2007 1 次提交
  20. 20 10月, 2007 1 次提交
  21. 18 10月, 2007 1 次提交
    • A
      Ext4: Uninitialized Block Groups · 717d50e4
      Andreas Dilger 提交于
      In pass1 of e2fsck, every inode table in the fileystem is scanned and checked,
      regardless of whether it is in use.  This is this the most time consuming part
      of the filesystem check.  The unintialized block group feature can greatly
      reduce e2fsck time by eliminating checking of uninitialized inodes.
      
      With this feature, there is a a high water mark of used inodes for each block
      group.  Block and inode bitmaps can be uninitialized on disk via a flag in the
      group descriptor to avoid reading or scanning them at e2fsck time.  A checksum
      of each group descriptor is used to ensure that corruption in the group
      descriptor's bit flags does not cause incorrect operation.
      
      The feature is enabled through a mkfs option
      
      	mke2fs /dev/ -O uninit_groups
      
      A patch adding support for uninitialized block groups to e2fsprogs tools has
      been posted to the linux-ext4 mailing list.
      
      The patches have been stress tested with fsstress and fsx.  In performance
      tests testing e2fsck time, we have seen that e2fsck time on ext3 grows
      linearly with the total number of inodes in the filesytem.  In ext4 with the
      uninitialized block groups feature, the e2fsck time is constant, based
      solely on the number of used inodes rather than the total inode count.
      Since typical ext4 filesystems only use 1-10% of their inodes, this feature can
      greatly reduce e2fsck time for users.  With performance improvement of 2-20
      times, depending on how full the filesystem is.
      
      The attached graph shows the major improvements in e2fsck times in filesystems
      with a large total inode count, but few inodes in use.
      
      In each group descriptor if we have
      
      EXT4_BG_INODE_UNINIT set in bg_flags:
              Inode table is not initialized/used in this group. So we can skip
              the consistency check during fsck.
      EXT4_BG_BLOCK_UNINIT set in bg_flags:
              No block in the group is used. So we can skip the block bitmap
              verification for this group.
      
      We also add two new fields to group descriptor as a part of
      uninitialized group patch.
      
              __le16  bg_itable_unused;       /* Unused inodes count */
              __le16  bg_checksum;            /* crc16(sb_uuid+group+desc) */
      
      bg_itable_unused:
      
      If we have EXT4_BG_INODE_UNINIT not set in bg_flags
      then bg_itable_unused will give the offset within
      the inode table till the inodes are used. This can be
      used by fsck to skip list of inodes that are marked unused.
      
      bg_checksum:
      Now that we depend on bg_flags and bg_itable_unused to determine
      the block and inode usage, we need to make sure group descriptor
      is not corrupt. We add checksum to group descriptor to
      detect corruption. If the descriptor is found to be corrupt, we
      mark all the blocks and inodes in the group used.
      Signed-off-by: NAvantika Mathur <mathur@us.ibm.com>
      Signed-off-by: NAndreas Dilger <adilger@clusterfs.com>
      Signed-off-by: NMingming Cao <cmm@us.ibm.com>
      Signed-off-by: NAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
      717d50e4
  22. 17 10月, 2007 4 次提交
  23. 10 10月, 2007 2 次提交