From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 29 11:34:45 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5442F1065670 for ; Thu, 29 Apr 2010 11:34:45 +0000 (UTC) (envelope-from iputsikau@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2EB578FC12 for ; Thu, 29 Apr 2010 11:34:44 +0000 (UTC) Received: by pvg11 with SMTP id 11so168564pvg.13 for ; Thu, 29 Apr 2010 04:34:40 -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=XT61SVJ8fUMNktID8508yOjxj4ov7Zpsn0voAEN8Wvs=; b=tYOAbB7poWrywTJtAFM85MbtPiYE1AIzY8pLN0aX2KVCJHhrzLeySoIGlPCDkj40FJ c3Vc5ueDWjloJCONpswdvGdRD8g2oF2zQKqI5ShlyzNjFUV5ssKPWhMLKj2DfTXestcr tcJtEhy9WX3XeNCH6LVQPyxMtHn6q+Up63K+o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=HDEHs5PVHrcF7JqEP8vWCBsj+7N4ZFoDheoJIjcHylV49qdkuYmL4SfT3xW1k+HLS8 vi4xwczcAKpmgKgVODIUvhNvNmGbNvEruup51xkHk1GE1hMNwjOxSoSTTXZYdv7OuHCs fcwTFW+DNcgnAb6WJBb+SnCJ/pPyM9te+paTY= MIME-Version: 1.0 Received: by 10.141.213.27 with SMTP id p27mr9274550rvq.155.1272539104282; Thu, 29 Apr 2010 04:05:04 -0700 (PDT) Received: by 10.141.42.14 with HTTP; Thu, 29 Apr 2010 04:05:04 -0700 (PDT) Date: Thu, 29 Apr 2010 14:05:04 +0300 Message-ID: From: Ilya Putsikau To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: GSoC: File system changes notification X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 11:34:45 -0000 Hi all, This summer I'll add file system notification mechanism that works around limitations of kevent. It has the same limitation as Linux' dnotify once had: file or directory should be opened to monitor changes, preventing file system unmounting. Most of the applications in FreeBSD currently use polling because of this limitation (gamin, kde). I'll reuse existing kevent framework by attaching kevent listeners to vnodes on creation, implementation is to be kernel level, have user level inotify API compatibility and can be used to implement inotify support in linuxulator.