GFS2: Reintroduce a timeout in function gfs2_gl_hash_clear
authorBob Peterson <rpeterso@redhat.com>
Tue, 19 May 2015 14:11:23 +0000 (09:11 -0500)
committerBob Peterson <rpeterso@redhat.com>
Mon, 14 Dec 2015 18:19:31 +0000 (12:19 -0600)
commit2aba1b5b4f78d56a764b92bae58298ad3fffdc4a
tree437fc7343008bdfad4d93d238494195e6152fa28
parent901c6c665b1024ea2bbabc24ba609a118459a2d8
GFS2: Reintroduce a timeout in function gfs2_gl_hash_clear

At some point in the past, we used to have a timeout when GFS2 was
unmounting, trying to clear out its glocks. If the timeout expires,
it would dump the remaining glocks to the kernel messages so that
developers can debug the problem. That timeout was eliminated,
probably by accident. This patch reintroduces it.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/glock.c