projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73c384c
)
ext4: mballoc: print bb_free info even when it is 0
author
Ritesh Harjani
<riteshh@linux.ibm.com>
Sun, 10 May 2020 06:24:41 +0000
(11:54 +0530)
committer
Theodore Ts'o
<tytso@mit.edu>
Thu, 4 Jun 2020 03:16:51 +0000
(23:16 -0400)
Improve the debugging msg by also printing even if bb_free is 0.
Signed-off-by: Ritesh Harjani <riteshh@linux.ibm.com>
Link:
https://lore.kernel.org/r/c894f1d1d30f86ae38f4e3a861949665b6dc61cd.1589086800.git.riteshh@linux.ibm.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/mballoc.c
patch
|
blob
|
history
diff --git
a/fs/ext4/mballoc.c
b/fs/ext4/mballoc.c
index
30d5d97
..
bcfaaad
100644
(file)
--- a/
fs/ext4/mballoc.c
+++ b/
fs/ext4/mballoc.c
@@
-4170,8
+4170,6
@@
static void ext4_mb_show_ac(struct ext4_allocation_context *ac)
}
ext4_unlock_group(sb, i);
- if (grp->bb_free == 0)
- continue;
printk(KERN_ERR "%u: %d/%d \n",
i, grp->bb_free, grp->bb_fragments);
}