hal ChangeLog,1.806,1.807
David Zeuthen
david at freedesktop.org
Tue Feb 14 01:14:18 PST 2006
Update of /cvs/hal/hal
In directory gabe:/tmp/cvs-serv17318
Modified Files:
ChangeLog
Log Message:
2006-02-14 David Zeuthen <davidz at redhat.com>
* hald/hald_dbus.c (hald_exec_method_do_invocation)
(hald_exec_method_enqueue, hald_exec_method_process_queue)
(hald_exec_method_cb, hald_exec_method): To avoid a race of
several processes invoking methods at the same time we now
maintain a queue of method calls per-device. One very real example
of this is gnome-mount when setting up crypto devices; after
Crypto.Setup() gnome-mount waits for the cleartext block device
and attempts to mount it; meanwhile g-v-m sees the cleartext block
device too and attempts to mount too. Since mounting is a
relatively slow operation both methods are executed at the same
time and we end up with two mounts. This patch fixes this problem.
Index: ChangeLog
===================================================================
RCS file: /cvs/hal/hal/ChangeLog,v
retrieving revision 1.806
retrieving revision 1.807
diff -u -d -r1.806 -r1.807
--- ChangeLog 14 Feb 2006 02:52:44 -0000 1.806
+++ ChangeLog 14 Feb 2006 09:14:16 -0000 1.807
@@ -1,3 +1,17 @@
+2006-02-14 David Zeuthen <davidz at redhat.com>
+
+ * hald/hald_dbus.c (hald_exec_method_do_invocation)
+ (hald_exec_method_enqueue, hald_exec_method_process_queue)
+ (hald_exec_method_cb, hald_exec_method): To avoid a race of
+ several processes invoking methods at the same time we now
+ maintain a queue of method calls per-device. One very real example
+ of this is gnome-mount when setting up crypto devices; after
+ Crypto.Setup() gnome-mount waits for the cleartext block device
+ and attempts to mount it; meanwhile g-v-m sees the cleartext block
+ device too and attempts to mount too. Since mounting is a
+ relatively slow operation both methods are executed at the same
+ time and we end up with two mounts. This patch fixes this problem.
+
2006-02-13 David Zeuthen <davidz at redhat.com>
* tools/hal-luks-teardown: Remove hal-luks-remove on
More information about the hal-commit
mailing list