]> 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)
commit16f83a386571e9c8864815d986524022a2f6ee0a
tree84c100780cc7e2a4d7023b3b0c701da93054d060
parent1aad0a036ce09a7d2c63a2ca89739fdd463ce2c0
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