OSDN Git Service

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)
commit72244b6bc752b5c496f09de9a13c18adc314a53c
tree84c100780cc7e2a4d7023b3b0c701da93054d060
parent050cdc6c9501abcd64720b8cc3e7941efee9547d
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