fs: dlm: ast do WARN_ON_ONCE() on hotpath
authorAlexander Aring <aahringo@redhat.com>
Thu, 17 Nov 2022 22:11:42 +0000 (17:11 -0500)
committerDavid Teigland <teigland@redhat.com>
Mon, 21 Nov 2022 15:45:49 +0000 (09:45 -0600)
commit740bb8fc10d226d64c7da2271cf0b25dab1538dc
tree31c868a938e4b26ee8dbea6c013efb0e1732882b
parent9267c85769e62c10961451fd28e88de996fdf401
fs: dlm: ast do WARN_ON_ONCE() on hotpath

This patch changes the ast hotpath functionality in very unlikely cases
that we do WARN_ON_ONCE() instead of WARN_ON() to not spamming the
console output if we run into states that it would occur over and over
again.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/ast.c
fs/dlm/user.c