On Wed, May 12, 2010 at 09:24:46PM +0000, Zachary Loafman wrote:
> Author: zml
> Date: Wed May 12 21:24:46 2010
> New Revision: 208003
> URL: http://svn.freebsd.org/changeset/base/208003
> 
> Log:
>   Add VOP_ADVLOCKPURGE so that the file system is called when purging
>   locks (in the case where the VFS impl isn't using lf_*)
>   
>   Submitted by:       Matthew Fleming <matthew.flem...@isilon.com>
>   Reviewed by:        zml, dfr
After looking at what happen to nullfs, see r208003, I wonder why
the vop is needed. It is called after VOP_RECLAIM is called by vgonel(),
after fs-specific data are destroyed. So, on the one hand, vop can only
operate on struct vnode proper, on the other hand, the actions performed
by vop_advlockpurge implementation can be done by vop_reclaim as well.

Could you, please, give some details on the supposed use of the vop ?

Attachment: pgpmxeEfX8FyB.pgp
Description: PGP signature

Reply via email to