fs: dlm: rename DLM_IFL_NEED_SCHED to DLM_IFL_CB_PENDING
authorAlexander Aring <aahringo@redhat.com>
Thu, 17 Nov 2022 22:11:43 +0000 (17:11 -0500)
committerDavid Teigland <teigland@redhat.com>
Mon, 21 Nov 2022 15:45:49 +0000 (09:45 -0600)
commit554d849616769339b9dce833a4830251fc4b91ba
tree17a91cbd09f514aec1c6a3cad9fd59282662ea2f
parent740bb8fc10d226d64c7da2271cf0b25dab1538dc
fs: dlm: rename DLM_IFL_NEED_SCHED to DLM_IFL_CB_PENDING

This patch renames DLM_IFL_NEED_SCHED to DLM_IFL_CB_PENDING because
CB_PENDING is a proper name to describe this flag. This flag is set when
callback enqueue will return DLM_ENQUEUE_CALLBACK_NEED_SCHED because the
callback worker need to be queued. The flag tells that callbacks are
currently pending to be called and will be unset if the callback work
for the specific lkb is done. The term need schedule is part of this
time but a proper name is to say that there are some callbacks pending
to being called.

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