[pnfs] CVS: nfsv4
Marc Eshel
eshel at almaden.ibm.com
Tue Aug 1 12:19:37 EDT 2006
What exactly is the problem? Can't you remove the pointer current_layout
from the inode (set it to NULL) and than you can either free it even
before the async call or if you need it for some reason free it in
rpc_call_done ?
I think that this call should be async.
Marc.
pnfs-bounces at linux-nfs.org wrote on 07/31/2006 10:29:22 PM:
> PFA the patch for the following commit.
> Regards
> Rahul
>
>
> -----Original Message-----
> From: Rahul Iyer (NetApp) [mailto:iyer at citi.umich.edu]
> Sent: Monday, July 31, 2006 10:28 PM
> To: pnfs at linux-nfs.org
> Subject: [pnfs] CVS: nfsv4
>
> CVSROOT: /cvs
> Module name: nfsv4
> Changes by: iyer at citi. 2006/08/01 01:28:20
>
> Modified files:
> cvs/pnfs/fs/nfs: nfs4proc.c
>
> Log message:
> Making LAYOUTRETURN synchronous. Having LAYOUTRETURN be asynchronous
> causes race condition between LAYOUTRETURN and the inode freeing
> routines.
>
> _______________________________________________
> pNFS mailing list
> pNFS at linux-nfs.org
> http://linux-nfs.org/cgi-bin/mailman/listinfo/pnfs
> [attachment "diff" deleted by Marc Eshel/Almaden/IBM]
> _______________________________________________
> pNFS mailing list
> pNFS at linux-nfs.org
> http://linux-nfs.org/cgi-bin/mailman/listinfo/pnfs
More information about the pNFS
mailing list