1. 01 8月, 2022 1 次提交
    • A
      fs: dlm: add deprecation Kconfig and warnings for timeouts · 81eeb82f
      Alexander Aring 提交于
      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: NAlexander Aring <aahringo@redhat.com>
      Signed-off-by: NDavid Teigland <teigland@redhat.com>
      81eeb82f
  2. 25 6月, 2022 14 次提交
  3. 24 6月, 2022 2 次提交
  4. 20 6月, 2022 1 次提交
  5. 19 6月, 2022 19 次提交
  6. 18 6月, 2022 3 次提交