From owner-soc-status@FreeBSD.ORG Fri Jun 4 11:02:03 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 67CB21065674 for ; Fri, 4 Jun 2010 11:02:03 +0000 (UTC) (envelope-from iputsikau@gmail.com) Received: from mail-yw0-f182.google.com (mail-yw0-f182.google.com [209.85.211.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2975C8FC18 for ; Fri, 4 Jun 2010 11:02:02 +0000 (UTC) Received: by ywh12 with SMTP id 12so371250ywh.14 for ; Fri, 04 Jun 2010 04:02:02 -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=e+nSdqXa7GtMJQUBFq303wYNwPpLyqeL++UBTcY+Fts=; b=GXNPcZAFRaS9zOzjr+PiXI0eEQDNs7RfYvGdKsOqU3mdhuZCK1AvsJ3Sq6dNORfX6G 4uvkfqQHa6qTAQS95JdBudseFUSQwE4I+R7cuWppOM2Pty23/TRpz1gT1lrlS6a1ERRP aac/UoUUiQ3UJ3+i/wPfvQ2jr7lyS4uRZ71XM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=vMwJyDIQkrfrX16iDu+N7U3GNTGl9C67nvsvIjM4o/KO0tSVqrh3uZvQ3E3CgWWAYQ qAt/PSx8fp4ojHqJW8rHeYCXjilzIIhxTUMcfXopmrQ0LIBLT7KSgBq8SeAAS1+Ul654 1vzZPk4Ujv9PaoGM3tq0pQfpc5G4xzHubQPXE= MIME-Version: 1.0 Received: by 10.224.112.5 with SMTP id u5mr5311434qap.81.1275647855428; Fri, 04 Jun 2010 03:37:35 -0700 (PDT) Received: by 10.229.37.84 with HTTP; Fri, 4 Jun 2010 03:37:35 -0700 (PDT) Date: Fri, 4 Jun 2010 13:37:35 +0300 Message-ID: From: Ilya Putsikau To: soc-status@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: [fsnotify] report #1 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: Fri, 04 Jun 2010 11:02:03 -0000 I've missed my first status report because wasn't subscribed to soc-status mail list and didn't see other reports. During the first week I've created a skeleton driver for fsnotify. The driver creates /dev/fsnotify which is used by client to read events and add watches. After some experiments I found out that using solely knote to get events from vfs is very problematic because several knote events can be combined into single one, which makes impossible finding what really happened. I've added hooks to vfs_subr.c (very small patch) and enqueue these events to be processed in task thread. File modification events are going be gathered using knote.