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

2010-05-17 Thread Matthew Fleming
From: Kostik Belousov [mailto:kostik...@gmail.com] On Wed, May 12, 2010 at 09:24:46PM +, 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

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

2010-05-17 Thread Kostik Belousov
On Mon, May 17, 2010 at 08:33:52AM -0700, Matthew Fleming wrote: From: Kostik Belousov [mailto:kostik...@gmail.com] On Wed, May 12, 2010 at 09:24:46PM +, Zachary Loafman wrote: Author: zml Date: Wed May 12 21:24:46 2010 New Revision: 208003 URL:

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

2010-05-17 Thread Matthew Fleming
From: Kostik Belousov [mailto:kostik...@gmail.com] Essentially, my argument is that whatever you do in VOP_ADVLOCKPURGE, can be and should be done in VOP_RECLAIM. This would also cover the v_data issue. I disagree about the should. I believe that if BSD wants to allow overriding

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

2010-05-15 Thread Kostik Belousov
On Wed, May 12, 2010 at 09:24:46PM +, 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