1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
David Teigland f32fd1fcb9 lvmlockd: adopt options
Lock adoption is not part of standard command behavior, but can
be used for manual recovery or cleanup from unexpected failure
cases.  Like other lockopt values, they are hidden options for
--lockopt.  Different lock managers will behave differently.
Adopting locks with lvmlockd -A1 is more accurate and automatic.

--lockopt adoptls
. for vgchange --lockstart
. adopt existing ls, or fail if no existing lockspace is found

--lockopt adoptgl | adoptvg | adoptlv
. for commands using lvmlockd locks
. adopt orphan gl/vg/lv lock, or fail the lock request if
  no orphan lock is found
. will fail if orphan lock exists with a different lock mode
. command may still continue with a failed shared lock request

--lockopt adopt
. for lockstart or any command using lvmlockd locks
. adopt existing lockspace, or start lockspace if none exists
. adopt orphan gl/vg/lv lock, or acquire new lock if no orphan found
. will fail if orphan lock exists with a different lock mode
. command may still continue with a failed shared lock request
. with dlm this option only works for ls
2024-06-27 13:29:03 -05:00
..
activate udev: disable suffix handling 2024-06-25 23:18:07 +02:00
cache lvmlockd: avoid lockd_vg for local VGs 2024-06-27 13:29:03 -05:00
cache_segtype cleanup: relocate section 2024-05-27 15:16:26 +02:00
commands lvmlockd: parse lockopt string into flags 2024-06-27 13:29:03 -05:00
config cov: convert some more enternal field masks 2024-05-27 16:35:23 +02:00
datastruct cleanup: eliminate unused assign 2021-03-11 00:18:01 +01:00
device device_mapper: empty string for missing uuid 2024-06-21 14:51:25 +02:00
display const: use arrays of strings 2024-05-04 01:01:57 +02:00
error error: try with modprobe 2024-05-27 15:16:26 +02:00
filters filter-persistent: convert to use radix_tree 2024-06-21 11:28:54 +02:00
format_text gcc: check cv pointer when needed 2024-06-19 14:28:02 +02:00
freeseg device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
integrity const: _ops segtype handler 2024-05-04 01:01:57 +02:00
label label: use dev iterator directly 2024-06-21 11:28:54 +02:00
locking lvmlockd: adopt options 2024-06-27 13:29:03 -05:00
log cleanup: use _ for static var 2024-06-03 15:30:05 +02:00
lvmpolld cleanup: some typos 2024-05-27 15:35:57 +02:00
metadata lvmlockd: parse lockopt string into flags 2024-06-27 13:29:03 -05:00
mirror mirror: drop unneeded call 2024-05-27 15:35:57 +02:00
misc gcc: pipe error path 2024-06-19 14:28:02 +02:00
mm gcc: same signess 2024-05-14 17:59:26 +02:00
notify debug: check for syscalls 2023-09-03 22:03:33 +02:00
properties build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
raid cleanup: relocate section 2024-05-27 15:16:26 +02:00
report cov: replace enum report_type_t with unsigned 2024-05-27 16:35:23 +02:00
snapshot const: _ops segtype handler 2024-05-04 01:01:57 +02:00
striped const: _ops segtype handler 2024-05-04 01:01:57 +02:00
thin cleanup: use _ for static var 2024-06-03 15:30:05 +02:00
unknown const: _ops segtype handler 2024-05-04 01:01:57 +02:00
uuid cleanup: use _ for static var 2024-06-03 15:30:05 +02:00
vdo cleanup: relocate section 2024-05-27 15:16:26 +02:00
writecache const: _ops segtype handler 2024-05-04 01:01:57 +02:00
zero const: _ops segtype handler 2024-05-04 01:01:57 +02:00
Makefile.in devices: factor common list functions 2022-11-07 11:38:46 -06:00