docs: update echo_interval description

Resolves: RHEL-80397

Signed-off-by: Paulo Alcantara <paalcant@redhat.com>
This commit is contained in:
Paulo Alcantara 2026-02-19 14:15:57 -03:00
parent 275f9bee77
commit b8989baea7
2 changed files with 42 additions and 1 deletions

View File

@ -3,7 +3,7 @@
Name: cifs-utils
Version: 7.0
Release: 2%{pre_release}%{?dist}
Release: 3%{pre_release}%{?dist}
Summary: Utilities for mounting and managing CIFS mounts
Group: System Environment/Daemons
@ -21,6 +21,7 @@ Source0: https://download.samba.org/pub/linux-cifs/cifs-utils/%{name}-%{
Patch1: 0001-Use-explicit-usr-bin-python3.patch
Patch2: mount.cifs.rst-add-missing-reference-for-sssd.patch
Patch3: mount.cifs.rst-update-section-about-xattr-acl-suppor.patch
Patch4: docs-update-echo_interval-description.patch
%description
The SMB/CIFS protocol is a standard file sharing protocol widely deployed
@ -58,6 +59,7 @@ provide these credentials to the kernel automatically at login.
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
autoreconf -i
@ -117,6 +119,10 @@ fi
%{_mandir}/man8/pam_cifscreds.8.gz
%changelog
* Thu Feb 19 2026 Paulo Alcantara <paalcant@redhat.com> - 7.0-3
- docs: update echo_interval description
- Resolves: RHEL-80397
* Thu Jun 13 2024 Paulo Alcantara <paalcant@redhat.com> - 7.0-2
- mount.cifs.rst: add missing reference for sssd
- mount.cifs.rst: update section about xattr/acl support

View File

@ -0,0 +1,35 @@
From 4d87803f386764ed0b5949ccf70fc684b744b83a Mon Sep 17 00:00:00 2001
From: Paulo Alcantara <pc@manguebit.org>
Date: Tue, 25 Nov 2025 17:58:29 -0300
Subject: [PATCH] docs: update echo_interval description
It is '3 * echo_interval' since upstream commit f2caf901c1b7 ("cifs:
Fix a race condition with cifs_echo_request").
Reported-by: Alexandros Panagiotou <apanagio@redhat.com>
Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.org>
Cc: Steve French <smfrench@gmail.com>
Cc: linux-cifs@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
---
mount.cifs.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mount.cifs.rst b/mount.cifs.rst
index 9eee7d5afc06..52fe492a5d37 100644
--- a/mount.cifs.rst
+++ b/mount.cifs.rst
@@ -484,8 +484,8 @@ echo_interval=n
sets the interval at which echo requests are sent to the server on an
idling connection. This setting also affects the time required for a
connection to an unresponsive server to timeout. Here n is the echo
- interval in seconds. The reconnection happens at twice the value of the
- echo_interval set for an unresponsive server.
+ interval in seconds. The reconnection happens at three times the
+ value of the echo_interval set for an unresponsive server.
If this option is not given then the default value of 60 seconds is used.
The minimum tunable value is 1 second and maximum can go up to 600 seconds.
--
2.53.0