Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | configure: update for lvmpollddev-okozina-polldaemon-for-agk | Ondrej Kozina | 2015-05-07 | 1 | -2/+3 |
| | |||||
* | scripts: update .gitignore | Ondrej Kozina | 2015-05-07 | 1 | -0/+3 |
| | |||||
* | scripts: add lvmpolld init script | Ondrej Kozina | 2015-05-07 | 2 | -0/+115 |
| | |||||
* | lvmpolld: simplify _strerror_r fn use | Ondrej Kozina | 2015-05-07 | 1 | -10/+10 |
| | |||||
* | lvmpolld_overview.txt: add brief lvmpolld overview | Ondrej Kozina | 2015-05-07 | 1 | -0/+81 |
| | | | | | | - short resume of motivation - data structures overview - locking order | ||||
* | lvmpolld: make internal polling timeout more robust | Ondrej Kozina | 2015-05-07 | 3 | -8/+11 |
| | | | | | | | | | | | | | | | | | | lvmpolld reports lvm2 command run in its domain as unresponsive after (2 * 'interval') or at least MIN_POLLING_TIMEOUT (currently 60) seconds. Let's call such event 'timeout'. If 'timeout' happens MAX_TIMEOUT times (currently 3) in a row lvmpolld will consider lvpoll command unresponsive for too long and will respond with error to next progress_info request. lvm2 commands considered dead or unresponsive for too long are not signaled to stop or killed but lvmpolld is not interested in such commands anymore and stops to collect their statuses 'inerval' means intervall in seconds passed by lvmpolld client | ||||
* | lvmpolld: update date ranges | Ondrej Kozina | 2015-05-07 | 3 | -3/+3 |
| | |||||
* | lvmpolld: hide internal implementation in cmd-utils | Ondrej Kozina | 2015-05-07 | 2 | -20/+20 |
| | |||||
* | lvmpolld.8.in: lvm dumpconfig -> lvmconfig | Ondrej Kozina | 2015-05-07 | 1 | -2/+2 |
| | | | | - also minor whitespace mess fix | ||||
* | lvmpolld: remove disputable inline from private fn | Ondrej Kozina | 2015-05-07 | 1 | -1/+1 |
| | |||||
* | lvm.8.in: add lvmpolld env. variables description | Ondrej Kozina | 2015-05-07 | 2 | -1/+7 |
| | | | | tiny fix to a whitespace orphan in lvmpolld.8.in | ||||
* | configure.in: remove redundant [ ] | Ondrej Kozina | 2015-05-07 | 1 | -1/+1 |
| | |||||
* | fix typos in lvmpolld description | Ondrej Kozina | 2015-05-07 | 2 | -3/+3 |
| | |||||
* | configure: refresh for lvmpolld | Ondrej Kozina | 2015-05-07 | 1 | -2/+47 |
| | |||||
* | tests: export test variables with lvmpolld flavours | Ondrej Kozina | 2015-05-07 | 4 | -10/+10 |
| | |||||
* | tests: extend check and check_system of lvmpolld tests | Ondrej Kozina | 2015-05-07 | 1 | -2/+2 |
| | |||||
* | tests: add various flavours for lvmpolld combined with others | Ondrej Kozina | 2015-05-07 | 7 | -3/+21 |
| | |||||
* | lvpoll: options cleanup | Ondrej Kozina | 2015-05-07 | 1 | -2/+2 |
| | | | | - remove short args hints for long options only | ||||
* | commands.h: rephrase description and tidy options | Ondrej Kozina | 2015-05-07 | 1 | -3/+3 |
| | | | | also stick with non-underscored long options naming | ||||
* | tests: skip tests not related to lvmpolld | Ondrej Kozina | 2015-05-07 | 64 | -49/+45 |
| | | | | | | skip all tests not related to lvmpolld when the daemon is active. should be modified when (if) lvmpolld become default or not an option during testing | ||||
* | tests: make pvmove-restart test ready for lvmpolld | Ondrej Kozina | 2015-05-07 | 1 | -2/+6 |
| | |||||
* | tests: make pvmove-resume tests ready for lvmpolld | Ondrej Kozina | 2015-05-07 | 3 | -20/+134 |
| | |||||
* | tests: make wait_pvmove_lv_ready lvmpolld compatible | Ondrej Kozina | 2015-05-07 | 1 | -8/+55 |
| | | | | | we have to be sure lvmpolld already handled request for polling init before we kill lvm command in tests | ||||
* | lvmpolld: enclose LVM_SYSTEM_DIR value by parenthesis | Ondrej Kozina | 2015-05-07 | 1 | -1/+1 |
| | |||||
* | lvmpolld: track poll/abort init requests count per LV | Ondrej Kozina | 2015-05-07 | 3 | -1/+6 |
| | |||||
* | lvmpolld: reword confusing references to internal_error | Ondrej Kozina | 2015-05-07 | 3 | -12/+12 |
| | |||||
* | lvmpolld: optimize shutdown a bit | Ondrej Kozina | 2015-05-07 | 1 | -3/+5 |
| | |||||
* | polling_ops: fix whitespace mess | Ondrej Kozina | 2015-05-07 | 1 | -1/+1 |
| | |||||
* | lvmpolld: improve syscal errors logging | Ondrej Kozina | 2015-05-07 | 2 | -9/+27 |
| | |||||
* | config_settings: move and update use_lvmpolld | Ondrej Kozina | 2015-05-07 | 1 | -9/+9 |
| | |||||
* | tests: don't leave behind bg processes in mirror-names.sh | Ondrej Kozina | 2015-05-07 | 1 | -0/+18 |
| | | | | | also delay all devices a bit to be able to detect private mirror LVs with lvmpolld | ||||
* | lvmpolld-client: enhance error message handling | Ondrej Kozina | 2015-05-07 | 1 | -42/+62 |
| | | | | | make lvmpolld-client compatible with altered and more specific error messages received from lvmpolld built from previous commit | ||||
* | lvmpolld: make error messages more specific | Ondrej Kozina | 2015-05-07 | 4 | -29/+37 |
| | | | | | | | | | | | | | | | | | | | | | | | | | split original RESP_FAILED message with slightly confusing INTERNAL_ERROR reason into more clear error message: new LVMPD_RESP_EINVAL response which explains as follows: "lvmpolld couldn't handle/serve the request since daemon found it invalid" it could be either due to invalid request parameteres (or any combinations of parameters) or due to internal database was in a state that didn't allow lvmpolld to continue w/ the request. some examples: 1) request for lvconvert --abort (we don't allow --abort for conversions) 2) totally wrong request UNCACHE (we don't support this rq yet or we won't support it ever) 3) a) init pvmove polling on lv identified by id AAA b) while result of a) is still in progress request following operation: init lvconvert polling on LV identified by same id AAA. new REASON_ENOMEM for a failure due to a system resource lack detected in lvmpolld (enomem, couldn't spawn new thread, process, etc) REAS_INTERNAL_ERROR was removed completely as being confusing | ||||
* | lvpoll: stick with return EINVALID_CMD_LINE lvm2 policy | Ondrej Kozina | 2015-05-07 | 1 | -1/+1 |
| | |||||
* | lvmpolld-client: stick with return 0 lvm2 policy | Ondrej Kozina | 2015-05-07 | 1 | -1/+1 |
| | |||||
* | lvpoll: tidy log messages a bit | Ondrej Kozina | 2015-05-07 | 1 | -4/+1 |
| | |||||
* | lvpoll args: file lvpoll args among long options only | Ondrej Kozina | 2015-05-07 | 1 | -4/+2 |
| | |||||
* | tidy lvmpolld Makefile.in a bit more | Ondrej Kozina | 2015-05-07 | 1 | -5/+1 |
| | | | | | - removing -rdynamic - removing testclient files references | ||||
* | lvpoll: update copyright info | Ondrej Kozina | 2015-05-07 | 1 | -1/+1 |
| | |||||
* | tidy lvmpolld Makefile.in a bit | Ondrej Kozina | 2015-05-07 | 1 | -13/+1 |
| | | | | - mostly removing never used lines copy-pasted from lvmetad file | ||||
* | tidy daemons Makefile.in a bit | Ondrej Kozina | 2015-05-07 | 1 | -9/+9 |
| | | | | | | - revert to current master - update (c) - add lvmpolld bits only | ||||
* | fix accidental modification of lvmetad Makefile.in | Ondrej Kozina | 2015-05-07 | 1 | -8/+4 |
| | | | | - revert to current master version | ||||
* | tests: skip most tests with lvmpolld enabled | Ondrej Kozina | 2015-05-07 | 153 | -2/+342 |
| | | | | | | try not to run tests not related to polling at all. Not definitive solution. Few tests needs to get investigated before skiping for good with lvmpolld enabled | ||||
* | lvpoll: rename header files | Ondrej Kozina | 2015-05-07 | 1 | -2/+2 |
| | |||||
* | lvmpolld: kill all children during shutdown | Ondrej Kozina | 2015-05-07 | 1 | -0/+8 |
| | |||||
* | polldaemon: few optimizations for lvmpolld polling | Ondrej Kozina | 2015-05-07 | 1 | -4/+6 |
| | | | | | | - always perform --abort with interval set to zero - do not read LV status for abort operations (less locking) | ||||
* | polldaemon: adjust interval for pvmove abort | Ondrej Kozina | 2015-05-07 | 1 | -0/+2 |
| | | | | | | with lvmpolld we do not want to wait too long for the result of pvmove --abort issued in foreground mode. Use minimal default interval in such case. | ||||
* | polldaemon: few fixes regarding the pvmove/pvmove --abort fixes | Ondrej Kozina | 2015-05-07 | 1 | -27/+18 |
| | |||||
* | conf.example.in: add 'use_lvmpolld' description | Ondrej Kozina | 2015-05-07 | 1 | -1/+8 |
| | |||||
* | man: allow lvmpolld man page | Ondrej Kozina | 2015-05-07 | 2 | -4/+17 |
| | | | | also fills in missing option descriptions |