mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
activation: drop test r/w vg state for activing LV
VG status read/write is meant to influence only VG metadata. It's not related to the read/write status of the LV itself.
This commit is contained in:
parent
fa4812bf7b
commit
f0f4248333
@ -1,5 +1,6 @@
|
||||
Version 2.02.106 -
|
||||
====================================
|
||||
Do not use VG read/write state for LV read/write state.
|
||||
Use --ignoreskippedcluster in activation systemd units if use_lvmetad=0.
|
||||
Allow approximate allocation when specifying size in percentage terms.
|
||||
Add basic LVM support for cache[pool] segment types.
|
||||
|
@ -63,7 +63,7 @@ struct lv_layer {
|
||||
|
||||
int read_only_lv(struct logical_volume *lv, struct lv_activate_opts *laopts)
|
||||
{
|
||||
return (laopts->read_only || !(lv->vg->status & LVM_WRITE) || !(lv->status & LVM_WRITE));
|
||||
return (laopts->read_only || !(lv->status & LVM_WRITE));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user