linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Write delegation
@ 2010-08-03  0:17 Yudong Gao
       [not found] ` <AANLkTi=2KYZ-8qaXMG=C_s617q3k1Ocs7h1gyd8=RpY6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 16+ messages in thread
From: Yudong Gao @ 2010-08-03  0:17 UTC (permalink / raw)
  To: linux-nfs

Hi,

I am looking at the delegation implementation in the source code of
NFS 4.1 in kernel 2.6.32.15. I can find the code for read delegation,
which is working and can serve the read requests locally. But I can
never find the code about write delegation, which is supposed to cache
the write update locally. I try to look at the functions including
nfs_writepage(s), nfs_file_flush() but none of them checks or uses the
write delegation.

Is write delegation currently implemented in NFS 4.1?

Thanks!

best,

Yudong

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Write Delegation
@ 2019-07-23 21:21 Diyu Zhou
  2019-07-24 12:03 ` Benjamin Coddington
  0 siblings, 1 reply; 16+ messages in thread
From: Diyu Zhou @ 2019-07-23 21:21 UTC (permalink / raw)
  To: linux-nfs

Hey,

I just started studying the Linux NFS code and I found the comments on file
/fs/nfsd/nfs4state.c right above function nfs4_open_delegation, saying: "
Attempt to hand out a delegation. Note we don't support write delegations, and
won't until the vfs has proper support for them."

Does that mean the current implementation of nfs4 in Linux does not support
write delegation?

Thank you all for your effort in building the NFS for Linux and thanks in
advance for your help.

Best,
Diyu

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2019-07-24 12:03 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-03  0:17 Write delegation Yudong Gao
     [not found] ` <AANLkTi=2KYZ-8qaXMG=C_s617q3k1Ocs7h1gyd8=RpY6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-08-04 19:21   ` Yudong Gao
2010-08-04 20:59     ` Andy Adamson
2010-08-04 21:11       ` Yudong Gao
2010-08-04 21:22         ` Trond Myklebust
2010-08-04 21:40           ` Yudong Gao
2010-08-05  0:52             ` Trond Myklebust
2010-08-05  1:22               ` Yudong Gao
     [not found]                 ` <AANLkTinq-q5f5QjCBiXuZMJY6dHajpDPZ7aO55ipNZcE-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-08-05  1:25                   ` Trond Myklebust
2010-08-05 18:10                     ` Yudong Gao
2010-08-05 20:13                       ` Yudong Gao
2010-08-05 20:38                         ` fscache Gilliam, PaulX J
2010-08-04 21:09     ` Write delegation Trond Myklebust
2010-08-04 21:20       ` Yudong Gao
  -- strict thread matches above, loose matches on Subject: below --
2019-07-23 21:21 Write Delegation Diyu Zhou
2019-07-24 12:03 ` Benjamin Coddington

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).