[pnfs] Forcing delegations
Iyer, Rahul
Rahul.Iyer at netapp.com
Thu Apr 19 22:15:20 EDT 2007
Hi Bruce,
Thanks. This should work for me. 1 client opening a file for read (say 5
times in quick succession) followed by another client opening it for
write. This should trigger off the callback and test my code.
Thanks,
Regards
Rahul
> -----Original Message-----
> From: J. Bruce Fields [mailto:bfields at fieldses.org]
> Sent: Thursday, April 19, 2007 7:13 PM
> To: Iyer, Rahul
> Cc: pnfs at linux-nfs.org
> Subject: Re: [pnfs] Forcing delegations
>
> On Thu, Apr 19, 2007 at 02:25:11PM -0700, Iyer, Rahul wrote:
> > I'm refactoring some of the NFSv4 code to make it simpler
> to add v4.1
> > code. One of the things I'm doing is moving the call to
> > nfs_callback_up() outside nfs4_alloc_client. I wanted to
> test this. Is
> > there any way I could force the server to give me a write
> delegation
> > (by opening a file x times)
>
> The server doesn't give out write delegations. But it'll
> usually give out a read delegation on the second open from
> any client (as long as it comes within a lease period of the
> first open, I think).
>
> --b.
>
More information about the pNFS
mailing list