* is nfsd sync or async?
@ 2010-08-09 12:00 Yuehai Xu
[not found] ` <AANLkTimU8OCKCaj0b5Ueg__c5DKSKGJWxoZUNK5xeyHk-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Yuehai Xu @ 2010-08-09 12:00 UTC (permalink / raw)
To: linux-nfs; +Cc: yhxu-jgEIgUtgKzeHXe+LvDLADg, green.trace
Hi all,
Suppose there is only one nfsd and two clients are sending random read
requests to this daemon. In this way, read ahead of the client should
not work since the requests are random. The requests between these two
clients should be async, while the requests from any one client of the
two should be sync. My question is about how will the nfsd handle
these requests, using sync or async mode in the kernel? Say, will nfsd
never handle the next request unless the previous request has been
served, without considering which clients the request belongs to? Or
nfsd just dispatch async requests to the lower level as soon as it
receives a request?
Any answer will be appreciate!
Yuehai
^ permalink raw reply [flat|nested] 3+ messages in thread* is nfsd sync or async?
@ 2010-08-09 13:02 Yuehai Xu
0 siblings, 0 replies; 3+ messages in thread
From: Yuehai Xu @ 2010-08-09 13:02 UTC (permalink / raw)
To: linux-kernel, linux-nfs; +Cc: yhxu-jgEIgUtgKzeHXe+LvDLADg
Hi all,
Suppose there is only one nfsd and two clients are sending random read
requests to this daemon. In this way, read ahead of the client should
not work since the requests are random. The requests between these two
clients should be async, while the requests from any one client of the
two should be sync. My question is about how will the nfsd handle
these requests, using sync or async mode in the kernel? Say, will nfsd
never handle the next request unless the previous request has been
served, without considering which clients the request belongs to? Or
nfsd just dispatch async requests to the lower level as soon as it
receives a request?
Any answer will be appreciated!
Yuehai
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-08-10 2:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-09 12:00 is nfsd sync or async? Yuehai Xu
[not found] ` <AANLkTimU8OCKCaj0b5Ueg__c5DKSKGJWxoZUNK5xeyHk-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-08-10 2:44 ` Yuehai Xu
-- strict thread matches above, loose matches on Subject: below --
2010-08-09 13:02 Yuehai Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).