diff options
Diffstat (limited to 'fs/ext4/mballoc.c')
-rw-r--r-- | fs/ext4/mballoc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index 04a5c7504be9..a888cac76e9c 100644 --- a/fs/ext4/mballoc.c +++ b/fs/ext4/mballoc.c | |||
@@ -1808,6 +1808,7 @@ int ext4_mb_find_by_goal(struct ext4_allocation_context *ac, | |||
1808 | ext4_lock_group(ac->ac_sb, group); | 1808 | ext4_lock_group(ac->ac_sb, group); |
1809 | max = mb_find_extent(e4b, ac->ac_g_ex.fe_start, | 1809 | max = mb_find_extent(e4b, ac->ac_g_ex.fe_start, |
1810 | ac->ac_g_ex.fe_len, &ex); | 1810 | ac->ac_g_ex.fe_len, &ex); |
1811 | ex.fe_logical = 0xDEADFA11; /* debug value */ | ||
1811 | 1812 | ||
1812 | if (max >= ac->ac_g_ex.fe_len && ac->ac_g_ex.fe_len == sbi->s_stripe) { | 1813 | if (max >= ac->ac_g_ex.fe_len && ac->ac_g_ex.fe_len == sbi->s_stripe) { |
1813 | ext4_fsblk_t start; | 1814 | ext4_fsblk_t start; |
@@ -1936,7 +1937,7 @@ void ext4_mb_complex_scan_group(struct ext4_allocation_context *ac, | |||
1936 | */ | 1937 | */ |
1937 | break; | 1938 | break; |
1938 | } | 1939 | } |
1939 | 1940 | ex.fe_logical = 0xDEADC0DE; /* debug value */ | |
1940 | ext4_mb_measure_extent(ac, &ex, e4b); | 1941 | ext4_mb_measure_extent(ac, &ex, e4b); |
1941 | 1942 | ||
1942 | i += ex.fe_len; | 1943 | i += ex.fe_len; |
@@ -1977,6 +1978,7 @@ void ext4_mb_scan_aligned(struct ext4_allocation_context *ac, | |||
1977 | max = mb_find_extent(e4b, i, sbi->s_stripe, &ex); | 1978 | max = mb_find_extent(e4b, i, sbi->s_stripe, &ex); |
1978 | if (max >= sbi->s_stripe) { | 1979 | if (max >= sbi->s_stripe) { |
1979 | ac->ac_found++; | 1980 | ac->ac_found++; |
1981 | ex.fe_logical = 0xDEADF00D; /* debug value */ | ||
1980 | ac->ac_b_ex = ex; | 1982 | ac->ac_b_ex = ex; |
1981 | ext4_mb_use_best_found(ac, e4b); | 1983 | ext4_mb_use_best_found(ac, e4b); |
1982 | break; | 1984 | break; |
@@ -4006,8 +4008,7 @@ static void ext4_mb_show_ac(struct ext4_allocation_context *ac) | |||
4006 | (unsigned long)ac->ac_b_ex.fe_len, | 4008 | (unsigned long)ac->ac_b_ex.fe_len, |
4007 | (unsigned long)ac->ac_b_ex.fe_logical, | 4009 | (unsigned long)ac->ac_b_ex.fe_logical, |
4008 | (int)ac->ac_criteria); | 4010 | (int)ac->ac_criteria); |
4009 | ext4_msg(ac->ac_sb, KERN_ERR, "%lu scanned, %d found", | 4011 | ext4_msg(ac->ac_sb, KERN_ERR, "%d found", ac->ac_found); |
4010 | ac->ac_ex_scanned, ac->ac_found); | ||
4011 | ext4_msg(ac->ac_sb, KERN_ERR, "groups: "); | 4012 | ext4_msg(ac->ac_sb, KERN_ERR, "groups: "); |
4012 | ngroups = ext4_get_groups_count(sb); | 4013 | ngroups = ext4_get_groups_count(sb); |
4013 | for (i = 0; i < ngroups; i++) { | 4014 | for (i = 0; i < ngroups; i++) { |