summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* lib lvmlockd: move lockd_vg_updatedev-dct-lvmlockd-ASDavid Teigland2015-06-231-2/+2
| | | | to follow the real vg_commit
* lvmlockd: add fixme for an enhancement to addDavid Teigland2015-06-231-0/+6
|
* lib lvmlockd: lockstop no error if already stoppedDavid Teigland2015-06-231-1/+3
|
* fixes to lvmlockd service files and installDavid Teigland2015-06-234-4/+11
|
* suppress an error in lock-startDavid Teigland2015-06-233-0/+3
|
* lvm2-lvmlocking: fix select syntaxDavid Teigland2015-06-231-2/+2
|
* lib lvmlockd: improve error messages and commentsDavid Teigland2015-06-231-55/+62
|
* vgchange: avoid unnecessary lockd_gl during lockstartDavid Teigland2015-06-231-2/+3
|
* lvmlockd: validate global cache for first gl lockDavid Teigland2015-06-232-1/+13
|
* add a warning for lvmlockdDavid Teigland2015-06-231-0/+10
|
* Remove instances of TODO and if 0David Teigland2015-06-239-159/+46
|
* configure: warnings about lvmlockdDavid Teigland2015-06-231-0/+6
| | | | lvmlockd requires lvmetad and lvmpolld
* pvmove: add comments about lvmlockd and lvmpolldDavid Teigland2015-06-231-1/+5
|
* Validate lock_type_t values when processing argDavid Teigland2015-06-234-1/+17
|
* remove hyphens from new lock option namesDavid Teigland2015-06-231-7/+7
|
* lvmlockd: use lib xlate for endian conversionDavid Teigland2015-06-233-18/+2
|
* Add lock_type_t with to/from string functionsDavid Teigland2015-06-236-46/+70
|
* Move lockd_gl calls for getting current VG listDavid Teigland2015-06-2311-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 scriptDavid Teigland2015-06-231-3/+3
|
* spec: Add lvmlockctlMarian Csontos2015-06-231-0/+1
|
* lvmlockd: vg_validate and vgcreate/vgchange changesDavid Teigland2015-06-236-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_typeDavid Teigland2015-06-2316-142/+122
|
* vgchange --lock-start: improve error when lvmlockd not runningDavid Teigland2015-06-231-2/+5
|
* lvmlockd Makefile: install lvmlockctlDavid Teigland2015-06-231-1/+4
|
* lvmlockd Makefile: remove DL_LIBS and rdyamaicDavid Teigland2015-06-231-4/+2
| | | | not needed
* fix some new build warningsDavid Teigland2015-06-232-2/+2
|
* lvmlockd test suite updateDavid Teigland2015-06-235-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 startDavid Teigland2015-06-232-0/+4
|
* man lvmlockd: updatesDavid Teigland2015-06-231-27/+42
|
* fix stub function for handle_sanlock_lvDavid Teigland2015-06-231-1/+1
|
* vg attr for lockd VGDavid Teigland2015-06-231-1/+8
|
* lvconvert: fixes for lvmlockdDavid Teigland2015-06-231-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: updatesDavid Teigland2015-06-231-313/+257
|
* toollib: fix clustered and shared option combinationsDavid Teigland2015-06-231-24/+19
| | | | --clustered n was failing when it shouldn't.
* mkdir later is not creating parent directories.Marian Csontos2015-06-231-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 vgsDavid Teigland2015-06-233-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 lvDavid Teigland2015-06-236-78/+31
| | | | handle them similarly
* updates to lvm2-lvmlocking unit fileDavid Teigland2015-06-231-7/+5
|
* spec: Comment out missing lvmlockd unitsMarian Csontos2015-06-231-7/+7
|
* lockd: Build lvmlockd(8) man pageMarian Csontos2015-06-231-1/+8
|
* [WIP] spec+lvmpolld: attempt to add polld to specMarian Csontos2015-06-234-0/+18
|
* fix compile warningsDavid Teigland2015-06-234-13/+21
|
* lvmlockctl: rename from lvmlockDavid Teigland2015-06-232-8/+5
|
* check and extend sanlock lv earlierDavid Teigland2015-06-238-40/+250
| | | | at the start of lvcreate
* lvmlockd: move sanlock lease allocationDavid Teigland2015-06-233-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 functionDavid Teigland2015-06-231-0/+4
|
* lvmlockd: use LV ids for LV lock namesDavid Teigland2015-06-237-165/+169
|
* lvmlockd: fix syslog optionDavid Teigland2015-06-231-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 defaultDavid Teigland2015-06-232-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 locksDavid Teigland2015-06-233-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.