From: Eric Paris Date: Wed, 28 Jul 2010 14:18:37 +0000 (-0400) Subject: inotify: allow users to request not to recieve events on unlinked children X-Git-Tag: v2.6.36-rc1~303^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c1934c8d70b22ca8333b216aec6c7d09fdbd6a6;p=pandora-kernel.git inotify: allow users to request not to recieve events on unlinked children An inotify watch on a directory will send events for children even if those children have been unlinked. This patch add a new inotify flag IN_EXCL_UNLINK which allows a watch to specificy they don't care about unlinked children. This should fix performance problems seen by tasks which add a watch to /tmp and then are overrun with events when other processes are reading and writing to unlinked files they created in /tmp. https://bugzilla.kernel.org/show_bug.cgi?id=16296 Requested-by: Matthias Clasen Signed-off-by: Eric Paris --- Reading git-diff-tree failed