From owner-freebsd-current@FreeBSD.ORG Wed Apr 13 03:05:52 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80CCA16A4CE for ; Wed, 13 Apr 2005 03:05:52 +0000 (GMT) Received: from sp.dominia.org (efnet-math.org [69.60.109.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C65543D55 for ; Wed, 13 Apr 2005 03:05:52 +0000 (GMT) (envelope-from ssouhlal@FreeBSD.org) Received: from [192.168.1.12] (63-170-138-118.cst-sg.blacksburg.ntc-com.net [63.170.138.118]) (authenticated bits=0) by sp.dominia.org (8.13.1/8.13.1) with ESMTP id j3D35o7q005164 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Tue, 12 Apr 2005 23:05:51 -0400 Mime-Version: 1.0 (Apple Message framework v619.2) Content-Transfer-Encoding: 7bit Message-Id: <0842a01b5aa0cfcd84763fff4a30113e@FreeBSD.org> Content-Type: text/plain; charset=US-ASCII; format=flowed To: current@FreeBSD.org From: Suleiman Souhlal Date: Tue, 12 Apr 2005 23:05:45 -0400 X-Mailer: Apple Mail (2.619.2) Subject: [PATCH] Allow watching of vnodes that reside on non-UFS filesystems with kqueue X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2005 03:05:52 -0000 Hello, The patch at http://people.freebsd.org/~ssouhlal/testing/kqueue-hooks-20050412.diff allows watching vnodes on non-UFS filesystems with kqueue. It moves the VN_KNOTE calls to pre and post VOP_* hooks. These hooks are currently used for VFS lock debugging only, but I made them unconditional. I think that they we could eventually move the mac_check_vnode_* calls into them too, with a bit of work. I would like to commit this to HEAD, if there are no objections. Bye, -- Suleiman Souhlal | ssouhlal@vt.edu The FreeBSD Project | ssouhlal@FreeBSD.org