diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-11-06 14:28:01 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 22:16:40 -0700 |
commit | 2b41e68a08548ce44b4d145900dab2bb04cd34f7 (patch) | |
tree | f2e96c9f150775e3673891d38a5af23d4246c826 /etc/init.d | |
parent | 482b0ecd8fcc2651c003c6f1ae9a2d3301ecf34a (diff) | |
download | systemd-2b41e68a08548ce44b4d145900dab2bb04cd34f7.tar.gz |
[PATCH] replace tdb database by simple lockless file database
This makes the udev operation completely lockless by storing a
file for every node in /dev/.udevdb/* This solved the problem
with deadlocking concurrent udev processes waiting for each other
to release the file lock under heavy load.
Diffstat (limited to 'etc/init.d')
-rw-r--r-- | etc/init.d/udev | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/init.d/udev b/etc/init.d/udev index 7e6305a45b..8726090d44 100644 --- a/etc/init.d/udev +++ b/etc/init.d/udev @@ -79,8 +79,8 @@ case "$1" in fi # remove the database if it is there as we always want to start fresh - if [ -f $udev_root/.udev.tdb ]; then - rm -f $udev_root/.udev.tdb + if [ -f $udev_root/.udevdb ]; then + rm -rf $udev_root/.udevdb fi # propogate /udev from /sys - we only need this while we do not |