The use the dentry d_iput function creates a problem with nfsd. It to
creates a dentry from an iget like open_by_filehndle and will cause
vnode reference problems. Couldn't this problem be solved cleaner
by using the linux provided iop functions like put_inode and clear_inode.
Then the nfs would not have special case for xfs.
Given the way the vn_rele works currently is their a problem with it
marking the vnode inactive. Linux will retain
the inode in its cache until it decides to prune it, which means it may
reuse it. Wouldn't it be
better to mark it inactive in a clear_inode call?
Bill Jones
|