Return-Path: Received: from fieldses.org ([174.143.236.118]:58974 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755884Ab0LPRYu (ORCPT ); Thu, 16 Dec 2010 12:24:50 -0500 Date: Thu, 16 Dec 2010 12:24:47 -0500 From: "J. Bruce Fields" To: "William A. (Andy) Adamson" Cc: Trond Myklebust , NFS list Subject: Re: NFSv4.1 callback service and UDP Message-ID: <20101216172447.GA20246@fieldses.org> References: Content-Type: text/plain; charset=us-ascii In-Reply-To: Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 On Thu, Dec 16, 2010 at 11:19:50AM -0500, William A. (Andy) Adamson wrote: > I note that the current NFSv4.1 back channel supports UDP. Why? Should > we continue with UDP support? Have you tested it? Looks to me like in that case setup_callback_client() will pass rpc_create() a UDP svc_xprt while requesting protocol XPRT_TRANSPORT_BC_TCP. Looking down through the code I'm not sure what's going to happen. I doubt it's good.... So, agreed, making sure we error out in the UDP case (if we don't already) would be a good idea. --b.