1. 27 9月, 2012 2 次提交
  2. 24 9月, 2012 1 次提交
  3. 19 9月, 2012 1 次提交
    • T
      ext4: re-enable -o discard functionality in no-journal mode · b5e2368b
      Theodore Ts'o 提交于
      This is a revert of commit b56ff9d3, which removed the call to
      ext4_issue_discard() to fix a BUG reported because
      ext4_issue_discard() was being called from inside a block group
      spinlock.  As it turns out this bug had already been fixed by Lukas
      Czerner in commit 53fdcf99 by the simple expedient of moving when
      we call ext4_issue_discard() outside the spinlock.
      
      So it should be safe to re-enable this functionality, which I tested
      by putting an BUG_ON(in_atomic) just after the restored callsite to
      ext4_issue_discard().
      
      Addresses-Google-Bug: #6750518
      Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
      Cc: Anatol Pomozov <anatol.pomozov@gmail.com>
      b5e2368b
  4. 05 9月, 2012 1 次提交
    • T
      ext4: grow the s_group_info array as needed · 28623c2f
      Theodore Ts'o 提交于
      Previously we allocated the s_group_info array with enough space for
      any future possible growth of the file system via online resize.  This
      is unfortunate because it wastes memory, and it doesn't work for the
      meta_bg scheme, since there is no limit based on the number of
      reserved gdt blocks.  So add the code to grow the s_group_info array
      as needed.
      Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
      28623c2f
  5. 17 8月, 2012 2 次提交
  6. 23 7月, 2012 1 次提交
  7. 10 7月, 2012 1 次提交
  8. 01 7月, 2012 1 次提交
    • A
      ext4: avoid uneeded calls to ext4_mb_load_buddy() while reading mb_groups · 1c8457ca
      Aditya Kali 提交于
      Currently ext4_mb_load_buddy is called for every group, irrespective
      of whether the group info is already in memory, while reading
      /proc/fs/ext4/<partition>/mb_groups proc file.  For the purpose of
      mb_groups proc file, it is unnecessary to load the file group info
      from disk if it was loaded in past.  These calls to ext4_mb_load_buddy
      make reading the mb_groups proc file expensive.
      
      Also, the locks around ext4_get_group_info are not required.
      
      This patch modifies the code to call ext4_mb_load_buddy only if the
      group info had never been loaded into memory in past. It also removes
      the mb group locking around ext4_get_group_info call.
      Signed-off-by: NAditya Kali <adityakali@google.com>
      Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
      1c8457ca
  9. 01 6月, 2012 2 次提交
  10. 29 5月, 2012 2 次提交
  11. 30 4月, 2012 2 次提交
  12. 22 3月, 2012 3 次提交
  13. 20 3月, 2012 2 次提交
  14. 21 2月, 2012 4 次提交
  15. 19 12月, 2011 1 次提交
  16. 26 10月, 2011 4 次提交
  17. 21 10月, 2011 1 次提交
  18. 06 10月, 2011 1 次提交
  19. 10 9月, 2011 8 次提交