From 797007a1d6883d09c80b8eadf60b9475365de2c7 Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Tue, 30 Jul 2013 17:30:59 -0600 Subject: [PATCH] LU-3674 ldiskfs: fix mb_groups column names The ext4-mballoc-extra-checks.patch changes the mb_groups /proc file to print out both the mballoc free blocks count and the group descriptor free block count, but incorrectly modifies the column headers. Fix the headers to match the fields being printed. Signed-off-by: Andreas Dilger Change-Id: Ia7cb2348cfa7a91ed37690bdbc8438834a3ebbe5 Reviewed-on: http://review.whamcloud.com/7187 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Alex Zhuravlev Reviewed-by: Bob Glossman Reviewed-by: Oleg Drokin --- ldiskfs/kernel_patches/patches/rhel6.3/ext4-mballoc-extra-checks.patch | 2 +- .../kernel_patches/patches/sles11sp2/ext4-mballoc-extra-checks.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ldiskfs/kernel_patches/patches/rhel6.3/ext4-mballoc-extra-checks.patch b/ldiskfs/kernel_patches/patches/rhel6.3/ext4-mballoc-extra-checks.patch index 63eb530..91b728d 100644 --- a/ldiskfs/kernel_patches/patches/rhel6.3/ext4-mballoc-extra-checks.patch +++ b/ldiskfs/kernel_patches/patches/rhel6.3/ext4-mballoc-extra-checks.patch @@ -121,7 +121,7 @@ Index: linux-stage/fs/ext4/mballoc.c "[ %-5s %-5s %-5s %-5s %-5s %-5s %-5s " "%-5s %-5s %-5s %-5s %-5s %-5s %-5s ]\n", - "group", "free", "frags", "first", -+ "group", "free", "frags", "first", "first", "pa", ++ "group", "free", "free", "frags", "first", "pa", "2^0", "2^1", "2^2", "2^3", "2^4", "2^5", "2^6", "2^7", "2^8", "2^9", "2^10", "2^11", "2^12", "2^13"); diff --git a/ldiskfs/kernel_patches/patches/sles11sp2/ext4-mballoc-extra-checks.patch b/ldiskfs/kernel_patches/patches/sles11sp2/ext4-mballoc-extra-checks.patch index 085a73e..59244b0 100644 --- a/ldiskfs/kernel_patches/patches/sles11sp2/ext4-mballoc-extra-checks.patch +++ b/ldiskfs/kernel_patches/patches/sles11sp2/ext4-mballoc-extra-checks.patch @@ -123,7 +123,7 @@ "[ %-5s %-5s %-5s %-5s %-5s %-5s %-5s " "%-5s %-5s %-5s %-5s %-5s %-5s %-5s ]\n", - "group", "free", "frags", "first", -+ "group", "free", "frags", "first", "first", "pa", ++ "group", "free", "free", "frags", "first", "pa", "2^0", "2^1", "2^2", "2^3", "2^4", "2^5", "2^6", "2^7", "2^8", "2^9", "2^10", "2^11", "2^12", "2^13"); -- 1.8.3.1