bridge: Report PID of yielding process when multiple instances run.
authorJustin Pettit <jpettit@nicira.com>
Mon, 8 Apr 2013 17:44:50 +0000 (10:44 -0700)
committerJustin Pettit <jpettit@nicira.com>
Mon, 8 Apr 2013 20:43:32 +0000 (13:43 -0700)
commitf90433936b399e8a00ad78ee23fdecdb8d6bb150
tree0848deaf936b9eb591afcbc909c4960088421885
parent42d5dd9595cce35a8825a20be7d71a3a8f6f5640
bridge: Report PID of yielding process when multiple instances run.

Normally, the daemon code will detect when multiple instances are run
and print the conflicting PID.  However, if ovs-vswitchd is not run in
daemon mode or the pidfile is removed, a database lock is checked.  The
message it prints wasn't specific enough about which process was backing
off due to not getting the lock.

Signed-off-by: Justin Pettit <jpettit@nicira.com>
vswitchd/bridge.c