[wicked-commit] [openSUSE/wicked] c1628d: fsm: adjusted find array worker by name utility
Branch: refs/heads/testing Home: https://github.com/openSUSE/wicked Commit: c1628d6f64c8d30f325ad8a9c1a246d1fba23193 https://github.com/openSUSE/wicked/commit/c1628d6f64c8d30f325ad8a9c1a246d1fb... Author: Marius Tomaschewski <mt@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M src/fsm.c Log Message: ----------- fsm: adjusted find array worker by name utility Commit: 4a1a455700e5ce1605404eb2fc9b0bbf826450a5 https://github.com/openSUSE/wicked/commit/4a1a455700e5ce1605404eb2fc9b0bbf82... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M src/fsm.c Log Message: ----------- fsm: utility to find array worker by object-path Also removed fallback to resolve object-path and lookup by ifname, causing to match config-only workers and non-ready device ifnames. Commit: c7f9531ae02bff831153aa645387cb531b9b63db https://github.com/openSUSE/wicked/commit/c7f9531ae02bff831153aa645387cb531b... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M src/fsm.c Log Message: ----------- fsm: make ni_ifworker_new() array based Commit: ef8e13b230d3ff7f69cbe0880b26645cd82f380e https://github.com/openSUSE/wicked/commit/ef8e13b230d3ff7f69cbe0880b26645cd8... Author: Marius Tomaschewski <mt@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M include/wicked/fsm.h M src/fsm.c Log Message: ----------- fsm: track non-ready devices separately as pending The workers fsm array contains only ready to use devices and non-ready devices are in a separate pending worker array now. This avoids, that resolving functions find a non-ready device and resolve dependencies using it. Commit: a46e1fdc23b3a944e3566f2342331e7e5994c665 https://github.com/openSUSE/wicked/commit/a46e1fdc23b3a944e3566f2342331e7e59... Author: Marius Tomaschewski <mt@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M src/fsm.c Log Message: ----------- fsm: skip waitDeviceReady call if device is ready Commit: 08ba1e451443498748a77818e7a780bca621b07c https://github.com/openSUSE/wicked/commit/08ba1e451443498748a77818e7a780bca6... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M include/wicked/fsm.h Log Message: ----------- fsm: cleanup of the action's from|next_state types Commit: 9cd660521ad28b86ab0efc6c49d6290103eb2934 https://github.com/openSUSE/wicked/commit/9cd660521ad28b86ab0efc6c49d6290103... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M src/fsm.c Log Message: ----------- fsm: Update client_state only on DEVICE_READY event Update only at DEVICE_READY should be enough _and_ this prevents from unwanted release of pending dbus events, causing potential race conditions in fsm transitions and events handling (bsc#921218). Commit: 3da5a1813a6f152efb7c4558787ba80ba6875f1b https://github.com/openSUSE/wicked/commit/3da5a1813a6f152efb7c4558787ba80ba6... Author: Marius Tomaschewski <mt@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M include/wicked/fsm.h M src/fsm.c Log Message: ----------- fsm: utility to get worker type from object-path Commit: 28b98183268c4269914847c1c941b4ce17b7ef09 https://github.com/openSUSE/wicked/commit/28b98183268c4269914847c1c941b4ce17... Author: Marius Tomaschewski <mt@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M src/fsm.c Log Message: ----------- fsm: improved verification of device creation result Commit: 6993b326e80f4e2da082e40558aeda81518e3d12 https://github.com/openSUSE/wicked/commit/6993b326e80f4e2da082e40558aeda8151... Author: Marius Tomaschewski <mt@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M include/wicked/fsm.h M src/fsm.c Log Message: ----------- fsm: added event processing utilities Commit: f6c38d8477bddf322bee01b813540f5e7a7aec45 https://github.com/openSUSE/wicked/commit/f6c38d8477bddf322bee01b813540f5e7a... Author: Marius Tomaschewski <mt@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M src/fsm.c Log Message: ----------- fsm: splitted event msg parsing and processing Commit: a04805f9aed93122d73d634f1dc30423c27ee626 https://github.com/openSUSE/wicked/commit/a04805f9aed93122d73d634f1dc30423c2... Author: Marius Tomaschewski <mt@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M src/fsm.c Log Message: ----------- fsm: process worker events in separate function Commit: 5e9c8574828799e39e5f5ca67019fc01814a565d https://github.com/openSUSE/wicked/commit/5e9c8574828799e39e5f5ca67019fc0181... Author: Marius Tomaschewski <mt@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M include/wicked/fsm.h M src/fsm.c Log Message: ----------- fsm: added a process event callback for nanny Commit: 1083c8de41dfc25b18156e246e93629736ed53af https://github.com/openSUSE/wicked/commit/1083c8de41dfc25b18156e246e93629736... Author: Marius Tomaschewski <mt@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M src/fsm.c Log Message: ----------- fsm: process device-ready|up in worker function Commit: 4ce842489e5f13136d91131b86f92de14bc96b4e https://github.com/openSUSE/wicked/commit/4ce842489e5f13136d91131b86f92de14b... Author: Marius Tomaschewski <mt@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M nanny/nanny.c Log Message: ----------- nanny: changed to process event via fsm callback Commit: 472c2347a8009e4c8e30441966177d34eb629a62 https://github.com/openSUSE/wicked/commit/472c2347a8009e4c8e30441966177d34eb... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M nanny/nanny.c Log Message: ----------- nanny: let fsm destroy worker, not unregister Commit: fe03ff6cd5ecd91e32e97f2506b56a7e044b92b1 https://github.com/openSUSE/wicked/commit/fe03ff6cd5ecd91e32e97f2506b56a7e04... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M nanny/nanny.c M src/fsm.c M src/wireless.c Log Message: ----------- wireless: when assoc est. issue LINK_ASSOSCIATED instead LINK_UP Commit: 6f68127218bb03b7c893cdd213db6d3c48790386 https://github.com/openSUSE/wicked/commit/6f68127218bb03b7c893cdd213db6d3c48... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M src/fsm.c Log Message: ----------- fsm: set wait_for action on device factory call Commit: eb2afee4191a8302fbd15de85c566c7d4fbd1f06 https://github.com/openSUSE/wicked/commit/eb2afee4191a8302fbd15de85c566c7d4f... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M src/fsm.c Log Message: ----------- fsm: log waiting for event only if wait_for is set Commit: 8c85d1c93d41d4c48d53b51db68b3e87440ec708 https://github.com/openSUSE/wicked/commit/8c85d1c93d41d4c48d53b51db68b3e8744... Author: Marius Tomaschewski <mt@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M src/fsm.c Log Message: ----------- fsm: split destroy and reset of the action table Commit: b4c467a5b5c76a4d1949716e305bd1aabf549357 https://github.com/openSUSE/wicked/commit/b4c467a5b5c76a4d1949716e305bd1aabf... Author: Marius Tomaschewski <mt@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M src/fsm.c Log Message: ----------- fsm: reinit next_action and reset wait_for on action table reset Commit: ef860114cf3fa2d4fbeac3153da0354bc4bbb109 https://github.com/openSUSE/wicked/commit/ef860114cf3fa2d4fbeac3153da0354bc4... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M src/fsm.c Log Message: ----------- fsm: split __ni_ifworker_reset_fsm into reset and destroy Commit: c23232bffa74e4291e32ce830f2fae84d2981a19 https://github.com/openSUSE/wicked/commit/c23232bffa74e4291e32ce830f2fae84d2... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M src/fsm.c Log Message: ----------- fsm: destroy worker fsm in ni_ifworker_free() Commit: 8750c3ef3435c165fd6846aba4805312cf699cd7 https://github.com/openSUSE/wicked/commit/8750c3ef3435c165fd6846aba4805312cf... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M src/fsm.c Log Message: ----------- fsm: reset all flags on ni_ifworker_reset() Commit: d7024f8c4749ea5de78fa409da79f087623eaa2f https://github.com/openSUSE/wicked/commit/d7024f8c4749ea5de78fa409da79f08762... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M include/wicked/fsm.h M src/fsm.c Log Message: ----------- fsm: rename ni_ifworker_is_running to ni_ifworker_has_succeeded Commit: 49e634a247a1b6a86c8a5ce5cadae54ac7209390 https://github.com/openSUSE/wicked/commit/49e634a247a1b6a86c8a5ce5cadae54ac7... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M include/wicked/fsm.h Log Message: ----------- fsm: add ni_ifworker_is_running() inline function Commit: fe8f1938cf3ce37f0c0302dcb8391d4dd552373f https://github.com/openSUSE/wicked/commit/fe8f1938cf3ce37f0c0302dcb8391d4dd5... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M src/fsm.c Log Message: ----------- fsm: destroy action_table from ni_fsm_schedule_init Commit: 23af4cdafd61ba27987c5dbd4caa52072db68629 https://github.com/openSUSE/wicked/commit/23af4cdafd61ba27987c5dbd4caa52072d... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M nanny/nanny.c M src/fsm.c Log Message: ----------- fsm: replace ni_ifworker_active with ni_ifworker_is_running Commit: 7d641693c0ff76fddcd6cd8898d22c2b3dbd7566 https://github.com/openSUSE/wicked/commit/7d641693c0ff76fddcd6cd8898d22c2b3d... Author: Marius Tomaschewski <mt@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M src/fsm.c Log Message: ----------- fsm: emit progress before completion when done Commit: fd2e986c80983016baad4b28dfc4b22619f69e98 https://github.com/openSUSE/wicked/commit/fd2e986c80983016baad4b28dfc4b22619... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M src/fsm.c Log Message: ----------- fsm: update worker's refcount on child state request add Commit: c31161f03fa61818f6dfc08b35627ff5d0b28412 https://github.com/openSUSE/wicked/commit/c31161f03fa61818f6dfc08b35627ff5d0... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M src/fsm.c Log Message: ----------- fsm: destroy child state req list on ni_fsm_build_hierarchy() Commit: 079416c3d34b67c1f5f20a20a19fd8e0b9391eed https://github.com/openSUSE/wicked/commit/079416c3d34b67c1f5f20a20a19fd8e0b9... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M include/wicked/fsm.h Log Message: ----------- fsm: ni_ifworker_complete if target state is valid Commit: 19248b29912f11085bc092d61fb21055eb538752 https://github.com/openSUSE/wicked/commit/19248b29912f11085bc092d61fb21055eb... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M nanny/nanny.c Log Message: ----------- nanny: recheck when not dead Commit: f1f74fe30a1c30640dfaf4d5b493622565f0a978 https://github.com/openSUSE/wicked/commit/f1f74fe30a1c30640dfaf4d5b493622565... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2015-04-02 (Thu, 02 Apr 2015) Changed paths: M src/fsm.c Log Message: ----------- fsm: do not set device-down state on starting worker Commit: 18e2e7c4e7d2b500c90790d85ce76acb3ad1b383 https://github.com/openSUSE/wicked/commit/18e2e7c4e7d2b500c90790d85ce76acb3a... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2015-04-13 (Mon, 13 Apr 2015) Changed paths: M include/wicked/fsm.h M nanny/nanny.c M src/fsm.c M src/wireless.c Log Message: ----------- Merge pull request #532 from mtomaschewski/master-bug-918662 fsm: fixes to use only ready devices by name and event races Compare: https://github.com/openSUSE/wicked/compare/353d4d2aa418...18e2e7c4e7d2
participants (1)
-
Pawel Wieczorkiewicz