Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 14 Nov 2002 12:38:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 14 Nov 2002 12:36:43 -0500 Received: from mons.uio.no ([129.240.130.14]:32431 "EHLO mons.uio.no") by vger.kernel.org with ESMTP id ; Thu, 14 Nov 2002 12:36:02 -0500 To: root@chaos.analogic.com Cc: Chuck Lever , Dan Kegel , Linux Kernel Mailing List Subject: Re: [PATCH] new timeout behavior for RPC requests on TCP sockets References: From: Trond Myklebust Date: 14 Nov 2002 16:41:22 +0100 In-Reply-To: Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1149 Lines: 21 >>>>> " " == Richard B Johnson writes: > The Client is the guy that just retries, as you say from a > time-out. This shouldn't affect any internal TCP/IP code. The > time-out is at the application (client) level. It sent a > request, the data was sent or promised to be sent because the > write() or send() didn't block, now it expects to get the data > it asked for. It waits, nothing happens. It times-out and sends > the exact same request again. Huh??? There's no 'application level' involved here at all, nor any 'internal TCP/IP code'. Chuck's patch touches the way the kernel Sun RPC client code (as used exclusively by the kernel NFS client and the kernel NLM client) handles the generic case of message timeout + resend. Why would we want to even consider pushing that sort of thing down into the NFS code itself? Cheers, Trond - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/