]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: improve debug information when lvb mismatches are found
authorBob Peterson <rpeterso@redhat.com>
Wed, 15 Aug 2018 17:09:49 +0000 (12:09 -0500)
committerBob Peterson <rpeterso@redhat.com>
Tue, 28 Aug 2018 17:51:08 +0000 (12:51 -0500)
commita99ccf9a321d749b1a645666f9bf207db0bb1887
tree84c100780cc7e2a4d7023b3b0c701da93054d060
parent60c10459a1599a5e2ab9eaba6461d1928cbd5180
gfs2: improve debug information when lvb mismatches are found

Before this patch, gfs2_rgrp_bh_get would check for lvb mismatches,
but it wouldn't tell you what was actually wrong. This patch adds
more information to help us debug it. It also makes rgrp consistency
checks dump any bad rgrps, and the rgrp dump code dump any lvbs
as well as the rgrp itself.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Acked-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/rgrp.c
fs/gfs2/util.c