Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lib lvmlockd: move lockd_vg_updatedev-dct-lvmlockd-AS | David Teigland | 2015-06-23 | 1 | -2/+2 |
| | | | | to follow the real vg_commit | ||||
* | lvmlockd: add fixme for an enhancement to add | David Teigland | 2015-06-23 | 1 | -0/+6 |
| | |||||
* | lib lvmlockd: lockstop no error if already stopped | David Teigland | 2015-06-23 | 1 | -1/+3 |
| | |||||
* | fixes to lvmlockd service files and install | David Teigland | 2015-06-23 | 4 | -4/+11 |
| | |||||
* | suppress an error in lock-start | David Teigland | 2015-06-23 | 3 | -0/+3 |
| | |||||
* | lvm2-lvmlocking: fix select syntax | David Teigland | 2015-06-23 | 1 | -2/+2 |
| | |||||
* | lib lvmlockd: improve error messages and comments | David Teigland | 2015-06-23 | 1 | -55/+62 |
| | |||||
* | vgchange: avoid unnecessary lockd_gl during lockstart | David Teigland | 2015-06-23 | 1 | -2/+3 |
| | |||||
* | lvmlockd: validate global cache for first gl lock | David Teigland | 2015-06-23 | 2 | -1/+13 |
| | |||||
* | add a warning for lvmlockd | David Teigland | 2015-06-23 | 1 | -0/+10 |
| | |||||
* | Remove instances of TODO and if 0 | David Teigland | 2015-06-23 | 9 | -159/+46 |
| | |||||
* | configure: warnings about lvmlockd | David Teigland | 2015-06-23 | 1 | -0/+6 |
| | | | | lvmlockd requires lvmetad and lvmpolld | ||||
* | pvmove: add comments about lvmlockd and lvmpolld | David Teigland | 2015-06-23 | 1 | -1/+5 |
| | |||||
* | Validate lock_type_t values when processing arg | David Teigland | 2015-06-23 | 4 | -1/+17 |
| | |||||
* | remove hyphens from new lock option names | David Teigland | 2015-06-23 | 1 | -7/+7 |
| | |||||
* | lvmlockd: use lib xlate for endian conversion | David Teigland | 2015-06-23 | 3 | -18/+2 |
| | |||||
* | Add lock_type_t with to/from string functions | David Teigland | 2015-06-23 | 6 | -46/+70 |
| | |||||
* | Move lockd_gl calls for getting current VG list | David Teigland | 2015-06-23 | 11 | -59/+21 |
| | | | | | When shared lockd_gl() is needed for reading a current VG list, call it just before get_vgnameids() in process_each. | ||||
* | tests: improve sanlock cleanup script | David Teigland | 2015-06-23 | 1 | -3/+3 |
| | |||||
* | spec: Add lvmlockctl | Marian Csontos | 2015-06-23 | 1 | -0/+1 |
| | |||||
* | lvmlockd: vg_validate and vgcreate/vgchange changes | David Teigland | 2015-06-23 | 6 | -41/+167 |
| | | | | | | | | Check lock_type and lock_args in vg_validate. Make some minor changes to when lock_type and lock_args are written during vgcreate and vgchange to eliminate intermediate states of the VG. | ||||
* | lvmlockd: remove lv lock_type | David Teigland | 2015-06-23 | 16 | -142/+122 |
| | |||||
* | vgchange --lock-start: improve error when lvmlockd not running | David Teigland | 2015-06-23 | 1 | -2/+5 |
| | |||||
* | lvmlockd Makefile: install lvmlockctl | David Teigland | 2015-06-23 | 1 | -1/+4 |
| | |||||
* | lvmlockd Makefile: remove DL_LIBS and rdyamaic | David Teigland | 2015-06-23 | 1 | -4/+2 |
| | | | | not needed | ||||
* | fix some new build warnings | David Teigland | 2015-06-23 | 2 | -2/+2 |
| | |||||
* | lvmlockd test suite update | David Teigland | 2015-06-23 | 5 | -15/+9 |
| | | | | | | These both now work: make check_lvmlockd_sanlock T=shell/sanlock-hello-world.sh make check_lvmlockd_dlm T=shell/dlm-hello-world.sh | ||||
* | vgcreate, vgchange: unlock gl while waiting for start | David Teigland | 2015-06-23 | 2 | -0/+4 |
| | |||||
* | man lvmlockd: updates | David Teigland | 2015-06-23 | 1 | -27/+42 |
| | |||||
* | fix stub function for handle_sanlock_lv | David Teigland | 2015-06-23 | 1 | -1/+1 |
| | |||||
* | vg attr for lockd VG | David Teigland | 2015-06-23 | 1 | -1/+8 |
| | |||||
* | lvconvert: fixes for lvmlockd | David Teigland | 2015-06-23 | 1 | -43/+52 |
| | | | | | A new thin pool LV gets a new lock in lvmlockd. The locks from data and meta LVs are unlocked and freed. | ||||
* | man lvmlockd: updates | David Teigland | 2015-06-23 | 1 | -313/+257 |
| | |||||
* | toollib: fix clustered and shared option combinations | David Teigland | 2015-06-23 | 1 | -24/+19 |
| | | | | --clustered n was failing when it shouldn't. | ||||
* | mkdir later is not creating parent directories. | Marian Csontos | 2015-06-23 | 1 | -0/+2 |
| | | | | | | | The parent directory (DIR) should either exist or should be created. It is not desirable to use `mkdir -p` which could lead to existing directory reuse. | ||||
* | vgcreate: use --shared option for lockd vgs | David Teigland | 2015-06-23 | 3 | -74/+69 |
| | | | | | | | | | 'vgcreate --shared' is only used with lvmlockd and selects lock_type sanlock|dlm depending on which lock manager is running. It will not create clvm VGs. 'vgcreate --clustered' is only used with clvmd, only creates clvm VGs, and will not create lockd VGs. | ||||
* | lvmlockd: make sanlock lv like metadata spare lv | David Teigland | 2015-06-23 | 6 | -78/+31 |
| | | | | handle them similarly | ||||
* | updates to lvm2-lvmlocking unit file | David Teigland | 2015-06-23 | 1 | -7/+5 |
| | |||||
* | spec: Comment out missing lvmlockd units | Marian Csontos | 2015-06-23 | 1 | -7/+7 |
| | |||||
* | lockd: Build lvmlockd(8) man page | Marian Csontos | 2015-06-23 | 1 | -1/+8 |
| | |||||
* | [WIP] spec+lvmpolld: attempt to add polld to spec | Marian Csontos | 2015-06-23 | 4 | -0/+18 |
| | |||||
* | fix compile warnings | David Teigland | 2015-06-23 | 4 | -13/+21 |
| | |||||
* | lvmlockctl: rename from lvmlock | David Teigland | 2015-06-23 | 2 | -8/+5 |
| | |||||
* | check and extend sanlock lv earlier | David Teigland | 2015-06-23 | 8 | -40/+250 |
| | | | | at the start of lvcreate | ||||
* | lvmlockd: move sanlock lease allocation | David Teigland | 2015-06-23 | 3 | -5/+44 |
| | | | | | | | | | | The lockd_init_lv() function no longer calls lvmlockd to ask for the sanlock lease to be allocated for the LV, i.e. lockd_init_lv_args(). Instead, it waits until vg_write() to do that, so the sanlock lease does not need to be freed in all the cases where lvcreate may quit before actually finishing. | ||||
* | lib lvmlockd: add missing stub function | David Teigland | 2015-06-23 | 1 | -0/+4 |
| | |||||
* | lvmlockd: use LV ids for LV lock names | David Teigland | 2015-06-23 | 7 | -165/+169 |
| | |||||
* | lvmlockd: fix syslog option | David Teigland | 2015-06-23 | 1 | -14/+63 |
| | | | | | Use standard syslog level names as option args to specify the level at which to send to syslog. | ||||
* | vgcreate/vgchange: wait for lock start by default | David Teigland | 2015-06-23 | 2 | -3/+16 |
| | | | | | | | By default, vgcreate and vgchange --lock-start will wait for the lockspace to start. Adding --lock-opt nowait will cause them not to wait. The waiting can always be canceled by Ctrl-C without any harm. | ||||
* | lib lvmlockd: retry busy locks | David Teigland | 2015-06-23 | 3 | -0/+36 |
| | | | | | | | | | | | By default retry lock operations that return EAGAIN because the lock is held by another host. These retries occur at the client/command level, and can be adjusted using global/lock_retries. lvmlockd already has some automatic retries to handle most incidental lock conflicts. |