1. 30 9月, 2009 2 次提交
    • T
      ext4: Use tracepoints for mb_history trace file · 296c355c
      Theodore Ts'o 提交于
      The /proc/fs/ext4/<dev>/mb_history was maintained manually, and had a
      number of problems: it required a largish amount of memory to be
      allocated for each ext4 filesystem, and the s_mb_history_lock
      introduced a CPU contention problem.  
      
      By ripping out the mb_history code and replacing it with ftrace
      tracepoints, and we get more functionality: timestamps, event
      filtering, the ability to correlate mballoc history with other ext4
      tracepoints, etc.
      Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
      296c355c
    • T
      ext4, jbd2: Drop unneeded printks at mount and unmount time · 90576c0b
      Theodore Ts'o 提交于
      There are a number of kernel printk's which are printed when an ext4
      filesystem is mounted and unmounted.  Disable them to economize space
      in the system logs.  In addition, disabling the mballoc stats by
      default saves a number of unneeded atomic operations for every block
      allocation or deallocation.
      Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
      90576c0b
  2. 26 8月, 2009 1 次提交
    • E
      ext4: use ext4_grpblk_t more extensively · a36b4498
      Eric Sandeen 提交于
      unsigned  short is potentially too small to track blocks within
      a group; today it is safe due to restrictions in e2fsprogs but
      we have _lo / _hi bits for group blocks with the intent to go
      up to 32 bits, so clean this up now.
      
      There are many more places where we use unsigned/int/unsigned int
      to contain a group block but this should at least fix all the
      short types.
      
      I added a few comments to the struct ext4_group_info definition
      as well.
      Signed-off-by: NEric Sandeen <sandeen@redhat.com>
      Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
      a36b4498
  3. 19 9月, 2009 1 次提交
  4. 02 5月, 2009 1 次提交
  5. 17 6月, 2009 1 次提交
  6. 28 3月, 2009 1 次提交
  7. 07 2月, 2009 1 次提交
  8. 06 1月, 2009 2 次提交
  9. 26 11月, 2008 1 次提交
  10. 06 1月, 2009 1 次提交
  11. 17 10月, 2008 1 次提交
    • T
      ext4: Replace hackish ext4_mb_poll_new_transaction with commit callback · 3e624fc7
      Theodore Ts'o 提交于
      The multiblock allocator needs to be able to release blocks (and issue
      a blkdev discard request) when the transaction which freed those
      blocks is committed.  Previously this was done via a polling mechanism
      when blocks are allocated or freed.  A much better way of doing things
      is to create a jbd2 callback function and attaching the list of blocks
      to be freed directly to the transaction structure.
      Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
      3e624fc7
  12. 16 10月, 2008 2 次提交
  13. 23 9月, 2008 1 次提交
  14. 24 7月, 2008 1 次提交
    • A
      ext4: Don't allow lg prealloc list to be grow large. · 6be2ded1
      Aneesh Kumar K.V 提交于
      Currently, the locality group prealloc list is freed only when there
      is a block allocation failure. This can result in large number of
      entries in the preallocation list making ext4_mb_use_preallocated()
      expensive.
      
      To fix this, we convert the locality group prealloc list to a hash
      list. The hash index is the order of number of blocks in the prealloc
      space with a max order of 9. When adding prealloc space to the list we
      make sure total entries for each order does not exceed 8. If it is
      more than 8 we discard few entries and make sure the we have only <= 5
      entries.
      Signed-off-by: NAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
      Signed-off-by: NTheodore Ts'o <tytso@mit.edu>
      6be2ded1
  15. 30 4月, 2008 1 次提交