Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-80397

Update the mount.cifs man page to match the 3*echo_interval reconnection timeout

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.5
    • cifs-utils
    • rhel-fs
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      What were you trying to do that didn't work?

      man mount.cifs states for echo_interval:

      The reconnection happens at twice the value of the echo_interval set for an unresponsive server.

      In reality, after upstream commitf 2caf901c1b7 (present in RHEL-8.2 or newer - i.e. always present in RHEL-9), the kernel uses echo_interval as:

      time_after(jiffies, server->lstrp + 3 * server->echo_interval)

       

      i.e. the reconnection happens at 3 * echo_interval for an unresponsive kernel

      What is the impact of this issue to you?

      Inaccurate man page - can cause confusion when reviewing logs or trying to setup values to match timeouts

      Please provide the package NVR for which the bug is seen:

      cifs-utils-7.0-5.el9

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1. man mount.cifs
      2. find the description of echo_interval

      Expected results

      The reconnection happens at 3 times the value of echo_interval set for an unresponsive server.

      Actual results

      The reconnection happens at twice the value of the  echo_interval set for an unresponsive server.

              paalcant@redhat.com Paulo Alcantara
              rhn-support-apanagio Alexandros Panagiotou
              CIFS Team CIFS Team
              Xiaoli Feng Xiaoli Feng
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: