From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ramkumar Ramachandra Subject: Re: inotify to minimize stat() calls Date: Sun, 10 Feb 2013 00:26:44 +0530 Message-ID: References: <7vehgqzc2p.fsf@alter.siamese.dyndns.org> <7va9rezaoy.fsf@alter.siamese.dyndns.org> <7vsj56w5y9.fsf@alter.siamese.dyndns.org> <9AF8A28B-71FE-4BBC-AD55-1DD3FDE8FFC3@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Robert Zeh , Junio C Hamano , Git List , Finn Arne Gangstad To: Duy Nguyen X-From: git-owner@vger.kernel.org Sat Feb 09 19:57:36 2013 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U4FcA-00065T-5y for gcvg-git-2@plane.gmane.org; Sat, 09 Feb 2013 19:57:30 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760826Ab3BIS5H (ORCPT ); Sat, 9 Feb 2013 13:57:07 -0500 Received: from mail-ia0-f179.google.com ([209.85.210.179]:60529 "EHLO mail-ia0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760819Ab3BIS5G (ORCPT ); Sat, 9 Feb 2013 13:57:06 -0500 Received: by mail-ia0-f179.google.com with SMTP id x24so5282054iak.24 for ; Sat, 09 Feb 2013 10:57:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=bsJ1c8tRoAxW/mlI/vNdqpN/dL3OpjZLiE+M6R0Sy9E=; b=EUwrzyw+BIQueQ3XuLWIUL/d7wHpIAT6iJx2WbIwdLOGSAvtH/8MyLcgSBYrnXg+Nd bKHXO7VJbUKpKlxN8Hw6mEYfg3ElWz7WRlx22lZOe8S2aODk0NOSlX6GESD0smaxwytP lQWi1rrnOCdpBS1H/BnGV+ocM6arOAqb8Czug1bDHqCs5skvtChim7sYpj27kZ27Bzdl c5sU8g/IjIb2a/F1uMi33c90yD20pDjVaFdl8PJFF8uoQuX8RqfZs96hJairfm+ki0Wy li2H9+2IMVeS8oiMOWtIxl60BMmAVoBehFfInxJWxPcus56H1soUXmr5WRJczs4Co6+v JkNg== X-Received: by 10.50.108.235 with SMTP id hn11mr5891441igb.107.1360436224657; Sat, 09 Feb 2013 10:57:04 -0800 (PST) Received: by 10.64.86.18 with HTTP; Sat, 9 Feb 2013 10:56:44 -0800 (PST) In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Ramkumar Ramachandra wrote: > Okay, now you're asking me to consider a system-wide daemon > independent of systemd. It has to run with root privileges so it has > access to everyone's repositories, which means that people have to > trust it beyond doubt. What does it do? It has a generic API to > watch filesystem paths and report events over an IP socket. Do you > think that this will only be useful to git? Every other version > control system (and presumably many other pieces of software) will > want to use it. One huge downside I see of making this part of > systemd is Ubuntu. They've decided not to use systemd for some > unfathomable reason. After some thought, I've decided that extending systemd is not the way to go. And the dbus API is really an overkill. Writing a simple system-wide daemon shouldn't be a challenge; the hard part is getting git to use it properly.