summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* configure: update for lvmpollddev-okozina-polldaemon-for-agkOndrej Kozina2015-05-071-2/+3
|
* scripts: update .gitignoreOndrej Kozina2015-05-071-0/+3
|
* scripts: add lvmpolld init scriptOndrej Kozina2015-05-072-0/+115
|
* lvmpolld: simplify _strerror_r fn useOndrej Kozina2015-05-071-10/+10
|
* lvmpolld_overview.txt: add brief lvmpolld overviewOndrej Kozina2015-05-071-0/+81
| | | | | | - short resume of motivation - data structures overview - locking order
* lvmpolld: make internal polling timeout more robustOndrej Kozina2015-05-073-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 rangesOndrej Kozina2015-05-073-3/+3
|
* lvmpolld: hide internal implementation in cmd-utilsOndrej Kozina2015-05-072-20/+20
|
* lvmpolld.8.in: lvm dumpconfig -> lvmconfigOndrej Kozina2015-05-071-2/+2
| | | | - also minor whitespace mess fix
* lvmpolld: remove disputable inline from private fnOndrej Kozina2015-05-071-1/+1
|
* lvm.8.in: add lvmpolld env. variables descriptionOndrej Kozina2015-05-072-1/+7
| | | | tiny fix to a whitespace orphan in lvmpolld.8.in
* configure.in: remove redundant [ ]Ondrej Kozina2015-05-071-1/+1
|
* fix typos in lvmpolld descriptionOndrej Kozina2015-05-072-3/+3
|
* configure: refresh for lvmpolldOndrej Kozina2015-05-071-2/+47
|
* tests: export test variables with lvmpolld flavoursOndrej Kozina2015-05-074-10/+10
|
* tests: extend check and check_system of lvmpolld testsOndrej Kozina2015-05-071-2/+2
|
* tests: add various flavours for lvmpolld combined with othersOndrej Kozina2015-05-077-3/+21
|
* lvpoll: options cleanupOndrej Kozina2015-05-071-2/+2
| | | | - remove short args hints for long options only
* commands.h: rephrase description and tidy optionsOndrej Kozina2015-05-071-3/+3
| | | | also stick with non-underscored long options naming
* tests: skip tests not related to lvmpolldOndrej Kozina2015-05-0764-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 lvmpolldOndrej Kozina2015-05-071-2/+6
|
* tests: make pvmove-resume tests ready for lvmpolldOndrej Kozina2015-05-073-20/+134
|
* tests: make wait_pvmove_lv_ready lvmpolld compatibleOndrej Kozina2015-05-071-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 parenthesisOndrej Kozina2015-05-071-1/+1
|
* lvmpolld: track poll/abort init requests count per LVOndrej Kozina2015-05-073-1/+6
|
* lvmpolld: reword confusing references to internal_errorOndrej Kozina2015-05-073-12/+12
|
* lvmpolld: optimize shutdown a bitOndrej Kozina2015-05-071-3/+5
|
* polling_ops: fix whitespace messOndrej Kozina2015-05-071-1/+1
|
* lvmpolld: improve syscal errors loggingOndrej Kozina2015-05-072-9/+27
|
* config_settings: move and update use_lvmpolldOndrej Kozina2015-05-071-9/+9
|
* tests: don't leave behind bg processes in mirror-names.shOndrej Kozina2015-05-071-0/+18
| | | | | also delay all devices a bit to be able to detect private mirror LVs with lvmpolld
* lvmpolld-client: enhance error message handlingOndrej Kozina2015-05-071-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 specificOndrej Kozina2015-05-074-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 policyOndrej Kozina2015-05-071-1/+1
|
* lvmpolld-client: stick with return 0 lvm2 policyOndrej Kozina2015-05-071-1/+1
|
* lvpoll: tidy log messages a bitOndrej Kozina2015-05-071-4/+1
|
* lvpoll args: file lvpoll args among long options onlyOndrej Kozina2015-05-071-4/+2
|
* tidy lvmpolld Makefile.in a bit moreOndrej Kozina2015-05-071-5/+1
| | | | | - removing -rdynamic - removing testclient files references
* lvpoll: update copyright infoOndrej Kozina2015-05-071-1/+1
|
* tidy lvmpolld Makefile.in a bitOndrej Kozina2015-05-071-13/+1
| | | | - mostly removing never used lines copy-pasted from lvmetad file
* tidy daemons Makefile.in a bitOndrej Kozina2015-05-071-9/+9
| | | | | | - revert to current master - update (c) - add lvmpolld bits only
* fix accidental modification of lvmetad Makefile.inOndrej Kozina2015-05-071-8/+4
| | | | - revert to current master version
* tests: skip most tests with lvmpolld enabledOndrej Kozina2015-05-07153-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 filesOndrej Kozina2015-05-071-2/+2
|
* lvmpolld: kill all children during shutdownOndrej Kozina2015-05-071-0/+8
|
* polldaemon: few optimizations for lvmpolld pollingOndrej Kozina2015-05-071-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 abortOndrej Kozina2015-05-071-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 fixesOndrej Kozina2015-05-071-27/+18
|
* conf.example.in: add 'use_lvmpolld' descriptionOndrej Kozina2015-05-071-1/+8
|
* man: allow lvmpolld man pageOndrej Kozina2015-05-072-4/+17
| | | | also fills in missing option descriptions