[lxc-devel] [lxc/lxc] 84c92a: add epoll events to mainloop callback handlers
GitHub
noreply at github.com
Fri Dec 6 21:03:30 UTC 2013
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 84c92abdd1c59de02f446e02ff7fd3e1d70b4811
https://github.com/lxc/lxc/commit/84c92abdd1c59de02f446e02ff7fd3e1d70b4811
Author: Dwight Engen <dwight.engen at oracle.com>
Date: 2013-12-06 (Fri, 06 Dec 2013)
Changed paths:
M src/lxc/commands.c
M src/lxc/console.c
M src/lxc/lxc_monitord.c
M src/lxc/lxcutmp.c
M src/lxc/mainloop.c
M src/lxc/mainloop.h
M src/lxc/start.c
Log Message:
-----------
add epoll events to mainloop callback handlers
Adding the epoll events allows the handler to determine what events
happened on the fd.
Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>
Commit: 2afd1dc05ba38eacdfe5a9c79addaf3a7d182dbf
https://github.com/lxc/lxc/commit/2afd1dc05ba38eacdfe5a9c79addaf3a7d182dbf
Author: Dwight Engen <dwight.engen at oracle.com>
Date: 2013-12-06 (Fri, 06 Dec 2013)
Changed paths:
M doc/lxc-monitor.sgml.in
M src/lxc/lxc_monitor.c
M src/lxc/lxc_monitord.c
Log Message:
-----------
let lxc-monitor command ask a lxc-monitord instance to quit
Once lxc-monitord receives a quit request from lxc-monitor, it will then
return from the mainloop every time an event occurs on any of its fds and
check if it has any clients left. When there are no more it exits. This
allows lxc-monitord to quit immediately instead of waiting the normal 30
seconds for more clients, potentially freeing up lxcpath for unmounting.
Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>
Compare: https://github.com/lxc/lxc/compare/341c97180674...2afd1dc05ba3
More information about the lxc-devel
mailing list