mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvmconf: set locking_type=2 if external library is requested
Also, set safe use_lvmetad=0 for external locking (locking_type=2) similarly to locking_type=3.
This commit is contained in:
parent
2081071bee
commit
001f747963
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.132 -
|
Version 2.02.132 -
|
||||||
======================================
|
======================================
|
||||||
|
Fix lvmconf to set locking_type=2 if external locking library is requested.
|
||||||
Remove verbose message when rescanning an unchanged device. (2.02.119)
|
Remove verbose message when rescanning an unchanged device. (2.02.119)
|
||||||
Add origin_uuid, mirror_log_uuid, move_pv_uuid, convert_lv_uuid report fields.
|
Add origin_uuid, mirror_log_uuid, move_pv_uuid, convert_lv_uuid report fields.
|
||||||
Add pool_lv_uuid, metadata_lv_uuid, data_lv_uuid reporting fields.
|
Add pool_lv_uuid, metadata_lv_uuid, data_lv_uuid reporting fields.
|
||||||
|
@ -133,6 +133,11 @@ function parse_args
|
|||||||
exit 1
|
exit 1
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [ "$LOCKINGLIBDIR" -o "$LOCKINGLIB" ]; then
|
||||||
|
LOCKING_TYPE=2
|
||||||
|
USE_LVMETAD=0
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function validate_args
|
function validate_args
|
||||||
|
Loading…
Reference in New Issue
Block a user