svn commit: r208003 - in head/sys: kern sys

Kostik Belousov kostikbel at gmail.com
Sun May 16 05:06:56 UTC 2010


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.fleming at 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 ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20100516/c8b5a6a9/attachment.pgp


More information about the svn-src-all mailing list