gfs2: Add verbose option to check_journal_clean
authorBob Peterson <rpeterso@redhat.com>
Mon, 18 Feb 2019 20:04:13 +0000 (13:04 -0700)
committerBob Peterson <rpeterso@redhat.com>
Thu, 27 Feb 2020 13:53:17 +0000 (07:53 -0600)
commit7d9f9249580e05a9af823cdbb7a91f2758d1c63b
tree590f31982a2f3b7596b5d2ddee5b98394fe462da
parent33dbd1e41a1dd549eb19a29477119d4e29766210
gfs2: Add verbose option to check_journal_clean

Before this patch, function check_journal_clean would give messages
related to journal recovery. That's fine for mount time, but when a
node withdraws and forces replay that way, we don't want all those
distracting and misleading messages. This patch adds a new parameter
to make those messages optional.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Reviewed-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/ops_fstype.c
fs/gfs2/util.c
fs/gfs2/util.h