From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: "Wendy Cheng" <s_wendy_cheng@hotmail.com>
Cc: <nfs@lists.sourceforge.net>
Subject: Re: question on sk_sem within svc_sendto
Date: 30 Apr 2003 17:30:23 +0200 [thread overview]
Message-ID: <shsllxsngts.fsf@charged.uio.no> (raw)
In-Reply-To: <BAY2-DAV28rRZ1UbDBR000085f3@hotmail.com>
>>>>> " " == Wendy Cheng <s_wendy_cheng@hotmail.com> 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
next prev parent reply other threads:[~2003-04-30 15:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E199G1Z-0004eg-00@sc8-sf-list2.sourceforge.net>
2003-04-30 15:00 ` question on sk_sem within svc_sendto Wendy Cheng
2003-04-30 15:30 ` Trond Myklebust [this message]
2003-04-30 15:53 ` Wendy Cheng
2003-04-30 18:02 ` Trond Myklebust
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=shsllxsngts.fsf@charged.uio.no \
--to=trond.myklebust@fys.uio.no \
--cc=nfs@lists.sourceforge.net \
--cc=s_wendy_cheng@hotmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.