[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHO5Pa1Rb5YkXF_0iE_KUhOOGeNo+zV+OWQW6L8_ix=iFvkTyg@mail.gmail.com>
Date: Fri, 18 Apr 2014 06:15:40 +0200
From: Michael Kerrisk <mtk.manpages@...il.com>
To: Lennart Sorensen <lsorense@...lub.uwaterloo.ca>
Cc: Jos Huisken <jos.huisken@...il.com>,
Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: inotify, new idea?
On Thu, Apr 17, 2014 at 11:28 PM, Lennart Sorensen
<lsorense@...lub.uwaterloo.ca> wrote:
> On Thu, Apr 17, 2014 at 11:00:37PM +0200, Jos Huisken wrote:
>> I was trying to maintain a local and remote directory in sync with
>> lsync, using inotify.
>> I happen to have >4M files and >400k directories... running over
>> /proc/sys/fs/inotify/max_user_watches
>
> Would fanotify perhaps be a better interface to use?
(One of us is misunderstanding fanotify; it might be me.)
Did you look at fanotify closely? I don't think it could be used for
this task -- does not notify linka dn unlink events, difficult to set
up recursive monitoring, etc.
Cheers,
Michael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists