From owner-soc-status@FreeBSD.ORG Sun Jun 6 17:32:26 2010 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 399151065675 for ; Sun, 6 Jun 2010 17:32:26 +0000 (UTC) (envelope-from iputsikau@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id E5A818FC12 for ; Sun, 6 Jun 2010 17:32:25 +0000 (UTC) Received: by vws4 with SMTP id 4so517200vws.13 for ; Sun, 06 Jun 2010 10:32:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=Trd2QXG7Q79+cXKFg4qhS5NJneR8+huK78IVbQ+1UZs=; b=f05+bwo/Y3vnu2oZ/GoVCA2gg0Z7Q751V8s9lPF49ac8jVTgV6A4IVWfo5aeXcvph8 PW4O3ArfKSOCNKlmgtbSYlE5n6bgzuZE6VwiWiK2yzXKBOGlIDLl4iqgeNJ4shxYLeoP H9hmkAjlZN92gu6uCK44kkfoap9eUx+NTEWvk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ZrCMiu6gDN8OJOM4uv70Hm/tF4VAsw5ZzaEf1IURTE2lwM9qxIliDAB3yiS7UY+hed cvmAeACZssy+HhJgZwWx4PdadYoSgi3wwIIZl6owrHjpeDcdviHjqF3h0nbTJLViV9dh kwxHRDWKyzgd/7tz2VUlOYfoaE+qyUj2KrJLs= MIME-Version: 1.0 Received: by 10.224.98.8 with SMTP id o8mr7527597qan.368.1275845545206; Sun, 06 Jun 2010 10:32:25 -0700 (PDT) Received: by 10.229.37.84 with HTTP; Sun, 6 Jun 2010 10:32:25 -0700 (PDT) Date: Sun, 6 Jun 2010 20:32:25 +0300 Message-ID: From: Ilya Putsikau To: soc-status@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: [fsnotify] report #2 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2010 17:32:26 -0000 This week I've implemented read, poll and ioctl device driver calls. Watches can be added and remove by ioctl call. Support for gathering and distribution events is also almost complete. Currently the biggest problem is how to find fsnotify node for vnode if vnode is not yet known to fsnotify. I've started with adding second hash table to lookup nodes by full path. By this approach appeared to be wrong, because it's not safe to lock or unlock vnodes inside vop_*_post calls, which is necessary for vn_fullpath.