From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Date: Thu, 09 Jun 2011 11:54:22 +0000 Subject: Re: udev queue error Message-Id: <20110609115422.GF11773@htj.dyndns.org> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hello, On Wed, Jun 08, 2011 at 01:55:01PM +0200, Kay Sievers wrote: > Maybe we can find a clean way to disable the event generation during > the time udev runs the event handler? We do a similar thing with > inotify watches too, so that udev does not generate events it has > caused itself during the event run. Maybe we can tag events which were generated during open(2) with the pid of the opener so that udev can reliably filter them? I think it would be nice if we can somehow make it uni-directional (ie. no extra information from userland to kernel during open). Thanks. -- tejun