From 2b41e68a08548ce44b4d145900dab2bb04cd34f7 Mon Sep 17 00:00:00 2001 From: "kay.sievers@vrfy.org" Date: Sat, 6 Nov 2004 14:28:01 +0100 Subject: [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. --- HOWTO-udev_for_dev | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'HOWTO-udev_for_dev') diff --git a/HOWTO-udev_for_dev b/HOWTO-udev_for_dev index 58bf2d4e8c..9833dd1411 100644 --- a/HOWTO-udev_for_dev +++ b/HOWTO-udev_for_dev @@ -39,10 +39,10 @@ NOTE NOTE NOTE NOTE NOTE NOTE NOTE the end of this file. - make sure the /etc/udev/udev.conf file lists the udev_root as "/dev/" - and the udev_db as "/dev/.udev.tdb". It should contain the + and the udev_db as "/dev/.udevdb". It should contain the following lines in order to work properly. udev_root="/dev/" - udev_db="/dev/.udev.tdb" + udev_db="/dev/.udevdb" - reboot into a 2.6 kernel and watch udev create all of the initial device nodes in /dev -- cgit v1.2.3-54-g00ecf