aboutsummaryrefslogtreecommitdiff
path: root/fs/dlm/dlm_internal.h
diff options
context:
space:
mode:
authorGravatar Alexander Aring <aahringo@redhat.com> 2022-06-22 14:45:22 -0400
committerGravatar David Teigland <teigland@redhat.com> 2022-08-01 09:31:32 -0500
commit81eeb82fc215afec7a0511dd5eab6b9cac8dac39 (patch)
treecf4364c835ec7f79fa487e1464fb0b46ba762d05 /fs/dlm/dlm_internal.h
parentfs: dlm: remove timeout from dlm_user_adopt_orphan (diff)
downloadlinux-81eeb82fc215afec7a0511dd5eab6b9cac8dac39.tar.gz
linux-81eeb82fc215afec7a0511dd5eab6b9cac8dac39.tar.bz2
linux-81eeb82fc215afec7a0511dd5eab6b9cac8dac39.zip
fs: dlm: add deprecation Kconfig and warnings for timeouts
This patch adds a CONFIG_DLM_DEPRECATED_API Kconfig option that must be enabled to use two timeout-related features that we intend to remove in kernel v6.2. Warnings are printed if either is enabled and used. Neither has ever been used as far as we know. . The DLM_LSFL_TIMEWARN lockspace creation flag will be removed, along with the associated configfs entry for setting the timeout. Setting the flag and configfs file would cause dlm to track how long locks were waiting for reply messages. After a timeout, a kernel message would be logged, and a netlink message would be sent to userspace. Recently, midcomms messages have been added that produce much better logging about actual problems with messages. No use has ever been found for the netlink messages. . The userspace libdlm API has allowed the DLM_LKF_TIMEOUT flag with a timeout value to be set in lock requests. The lock request would be cancelled after the timeout. Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/dlm_internal.h')
0 files changed, 0 insertions, 0 deletions