]> git.karo-electronics.de Git - linux-beck.git/commit
GFS2: ignore unlock failures after withdraw
authorBenjamin Marzinski <bmarzins@redhat.com>
Wed, 23 Mar 2016 18:29:59 +0000 (14:29 -0400)
committerBob Peterson <rpeterso@redhat.com>
Thu, 24 Mar 2016 12:28:48 +0000 (08:28 -0400)
commit3e11e530415027a57936545957126aff49267b76
tree050521977711a35ac67c7034c4f97f110c40ab47
parent9dffdb38d864ae89e16ff7b3a09451270736e35b
GFS2: ignore unlock failures after withdraw

After gfs2 has withdrawn the filesystem, it may still have many locks not
in the unlocked state.  If it is using lock_dlm, it will failed trying
the unlocks since it has already unmounted the lock manager. Instead, it
should set the SDF_SKIP_DLM_UNLOCK flag on withdraw, to signal that
it can skip the lock_manager on unlocks, and failback to lock_nolock
style unlocking.

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