gfs2: instrumentation wrt log_flush stuck
authorBob Peterson <rpeterso@redhat.com>
Fri, 22 May 2020 19:03:21 +0000 (14:03 -0500)
committerAndreas Gruenbacher <agruenba@redhat.com>
Fri, 5 Jun 2020 17:35:54 +0000 (19:35 +0200)
commitd5dc3d9677394d4fb4dca61856491df5a37db31a
treee3e6fd95e681eef05c7605fe5f657f83d80074ef
parentea4e61c7f46d33fdf17580a925e47cc83570d658
gfs2: instrumentation wrt log_flush stuck

This adds checks for gfs2_log_flush being stuck, similarly to the check
in gfs2_ail1_flush. To faciliate this and make the strings easy to grep
we move the ail1 emptying to its own function, empty_ail1_list.

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