On Thu, Aug 18, 2022 at 8:32 PM Bob Peterson <rpete...@redhat.com> wrote:
> This is version 3 which has further simplification and improvements.
>
> This patch set fixes a few bugs in how gfs2 handles file systems after
> withdraw. In an ideal world, after a file system is withdrawn, users
> should be able to unmount the file system without problems. However, we
> discovered three problems that prevented clean unmounts:
>
> 1. A duplicate iput of the journal after attempted recovery caused
>    kernel panics after withdraw.
> 2. After withdraw, unmount would hang for its alloted timeout period
>    when glocks had waiters queued that, due to the withdraw, could
>    never be granted.
> 3. Unmount would similarly hang when the withdraw prevented an outgoing
>    request to dlm, but so the glock was never unlocked.
>
> Bob Peterson (3):
>   gfs2: Prevent double iput for journal on error
>   gfs2: Dequeue waiters when withdrawn
>   gfs2: Clear flags when withdraw prevents xmote
>
>  fs/gfs2/glock.c | 36 ++++++++++++++++++++++++++++++++++--
>  fs/gfs2/glock.h |  1 +
>  fs/gfs2/util.c  |  6 ++++++
>  3 files changed, 41 insertions(+), 2 deletions(-)
>
> --
> 2.37.2
>

Pushed to for-next.

Thanks,
Andreas

Reply via email to