mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 14:12:06 +00:00
81eeb82fc2
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>
28 lines
735 B
Plaintext
28 lines
735 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
menuconfig DLM
|
|
tristate "Distributed Lock Manager (DLM)"
|
|
depends on INET
|
|
depends on SYSFS && CONFIGFS_FS && (IPV6 || IPV6=n)
|
|
select IP_SCTP
|
|
select SRCU
|
|
help
|
|
A general purpose distributed lock manager for kernel or userspace
|
|
applications.
|
|
|
|
config DLM_DEPRECATED_API
|
|
bool "DLM deprecated API"
|
|
depends on DLM
|
|
help
|
|
Enables deprecated DLM timeout features that will be removed in
|
|
later Linux kernel releases.
|
|
|
|
If you are unsure, say N.
|
|
|
|
config DLM_DEBUG
|
|
bool "DLM debugging"
|
|
depends on DLM
|
|
help
|
|
Under the debugfs mount point, the name of each lockspace will
|
|
appear as a file in the "dlm" directory. The output is the
|
|
list of resource and locks the local node knows about.
|