diff mbox series

cifs: fix a comment for the timeouts when sending echos

Message ID 20190724014349.6479-1-lsahlber@redhat.com (mailing list archive)
State New, archived
Headers show
Series cifs: fix a comment for the timeouts when sending echos | expand

Commit Message

Ronnie Sahlberg July 24, 2019, 1:43 a.m. UTC
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
---
 fs/cifs/connect.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Steve French July 24, 2019, 3:27 a.m. UTC | #1
merged into cifs-2.6.git for-next

On Tue, Jul 23, 2019 at 8:43 PM Ronnie Sahlberg <lsahlber@redhat.com> wrote:
>
> Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
> ---
>  fs/cifs/connect.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
> index a4830ced0f98..78fb5cc37644 100644
> --- a/fs/cifs/connect.c
> +++ b/fs/cifs/connect.c
> @@ -712,7 +712,7 @@ server_unresponsive(struct TCP_Server_Info *server)
>          * We need to wait 3 echo intervals to make sure we handle such
>          * situations right:
>          * 1s  client sends a normal SMB request
> -        * 3s  client gets a response
> +        * 2s  client gets a response
>          * 30s echo workqueue job pops, and decides we got a response recently
>          *     and don't need to send another
>          * ...
> --
> 2.13.6
>
diff mbox series

Patch

diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index a4830ced0f98..78fb5cc37644 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -712,7 +712,7 @@  server_unresponsive(struct TCP_Server_Info *server)
 	 * We need to wait 3 echo intervals to make sure we handle such
 	 * situations right:
 	 * 1s  client sends a normal SMB request
-	 * 3s  client gets a response
+	 * 2s  client gets a response
 	 * 30s echo workqueue job pops, and decides we got a response recently
 	 *     and don't need to send another
 	 * ...