mirror of
git://sourceware.org/git/lvm2.git
synced 2025-10-27 11:33:19 +03:00
raid: Don't monitor raid0 or raid0_meta LVs.
This commit is contained in:
@@ -499,7 +499,12 @@ static struct segment_type *_init_raid_segtype(struct cmd_context *cmd,
|
||||
|
||||
segtype->ops = &_raid_ops;
|
||||
segtype->name = rt->name;
|
||||
segtype->flags = SEG_RAID | SEG_ONLY_EXCLUSIVE | rt->extra_flags | monitored;
|
||||
segtype->flags = SEG_RAID | SEG_ONLY_EXCLUSIVE | rt->extra_flags;
|
||||
|
||||
/* Never monitor raid0 or raid0_meta LVs */
|
||||
if (!segtype_is_any_raid0(segtype))
|
||||
segtype->flags |= monitored;
|
||||
|
||||
segtype->parity_devs = rt->parity;
|
||||
|
||||
log_very_verbose("Initialised segtype: %s", segtype->name);
|
||||
|
||||
Reference in New Issue
Block a user