[pnfs] Layoutreturn Implementation

Iyer, Rahul Rahul.Iyer at netapp.com
Wed Jul 19 18:20:30 EDT 2006


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
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://linux-nfs.org/pipermail/pnfs/attachments/20060719/eeab8da7/attachment.html


More information about the pNFS mailing list