From: "Wendy Cheng" Subject: Re: question on sk_sem within svc_sendto Date: Wed, 30 Apr 2003 11:53:11 -0400 Sender: nfs-admin@lists.sourceforge.net Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Cc: Return-path: Received: from bay2-dav6.bay2.hotmail.com ([65.54.246.110] helo=hotmail.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19AttZ-0003Vf-00 for ; Wed, 30 Apr 2003 08:53:21 -0700 To: "Trond Myklebust" Errors-To: nfs-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Unsubscribe: , List-Archive: This makes sense (for me) in TCP case but how about UDP ? Does the 2.5.x kernel send multiple NFS UDP packets within one reply (for one single request) ? Wendy ----- Original Message ----- From: "Trond Myklebust" To: "Wendy Cheng" Cc: Sent: Wednesday, April 30, 2003 11:30 AM Subject: Re: [NFS] question on sk_sem within svc_sendto | >>>>> " " == Wendy Cheng writes: | | > We're in the middle of fine-tuning our linux-based file server | > and currently examining the NFS zero-copy path with 2.5.x | > kernel. There is a semaphore (sk_sem) within svc_sendto() that | > serializes the outgoing data. Could someone shed some light and | > give us an explanation why this semaphore is needed - just for | > education purpose.Great thanks... | | You need to send one datagram at a time down each socket otherwise the | client might receive data which is partially from one request, | partially from another. | | Cheers, | Trond | ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs