Re: udevd is killing file write performance.

From: John McCutchan
Date: Wed Feb 22 2006 - 11:46:21 EST


On Wed, 2006-22-02 at 07:42 -0600, Robin Holt wrote:
>
> I know _VERY_ little about filesystems. udevd appears to be looking
> at /etc/udev/rules.d. This bumps inotify_watches to 1. The file
> being written is on an xfs filesystem mounted at a different mountpoint.
> Could the inotify flag be moved from a global to a sb (or something
> finer) point and therefore avoid taking the dentry->d_lock when there
> is no possibility of a watch event being queued.

We could do this, and avoid the problem, but only in this specific
scenario. The file being written is on a different mountpoint but whats
to stop a different app from running inotify on that mount point?
Perhaps the program could be altered instead?

--
John McCutchan <john@xxxxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/