[pnfs] Layoutreturn Implementation
Dean Hildebrand
dhildebz at eecs.umich.edu
Thu Jul 20 16:51:59 EDT 2006
I think it has to be sync since we can't remove the inode until it
completes successfully.
Dean
Iyer, Rahul wrote:
> Hi,
> Currently, free_layout() is being called from only one functioon:
> nfs4_clear_inode(). nfs4_clear_inode() is the .clear_inode pointer of
> super_operations. The .clear_inode pointer is called by clear_inode().
> This is called mainly to remove the in memory inode reference.
>
> The function that I spoke about, wwhich makes the LAYOUTRETURN rpc is
> pnfs_return_layout(). This function is, however called nowhere. All
> that needs to be done on the client is to call pnfs_return_layout() in
> nfs4_clear_inode().
> So, I presume it's fairly simple. However, I had a question:
> nfs4_proc_pnfs_layoutreturn() makes a call to rpc_call_sync(). Should
> LAYOUTRETURN be a synchronous RPC? Is it better asynchronous? Do we care?
>
> Thanks
> Rahul
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> pNFS mailing list
> pNFS at linux-nfs.org
> http://linux-nfs.org/cgi-bin/mailman/listinfo/pnfs
--
Dean Hildebrand
Ph.D. Candidate
University of Michigan
More information about the pNFS
mailing list