diff options
author | Alasdair Kergon <agk@redhat.com> | 2012-05-16 12:50:14 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2012-05-16 12:50:14 +0000 |
commit | 56d49cbf13d4d3e2d825bfff2c4ed2dba5e49219 (patch) | |
tree | 68c132c6feea593e58705dbad28c952b36bd5194 /lib | |
parent | 12a15f939c47243f03e5aa76e94cc4e907446c37 (diff) | |
download | lvm2-56d49cbf13d4d3e2d825bfff2c4ed2dba5e49219.tar.gz lvm2-56d49cbf13d4d3e2d825bfff2c4ed2dba5e49219.tar.xz lvm2-56d49cbf13d4d3e2d825bfff2c4ed2dba5e49219.zip |
Re-enable partial activation of non-thin LVs until it can be fixed. (2.02.90)
- The test should be checking the LV as a whole, not just individual segments.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/activate/dev_manager.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/activate/dev_manager.c b/lib/activate/dev_manager.c index be99e8cf..40b0edc8 100644 --- a/lib/activate/dev_manager.c +++ b/lib/activate/dev_manager.c @@ -1581,22 +1581,6 @@ int add_areas_line(struct dev_manager *dm, struct lv_segment *seg, seg->lv->vg->name, seg->lv->name); return 0; } - - /* - * Mirrors activate LVs replaced with error targets and - * RAID can handle non-accessible sub-LVs. - * - * TODO: Can we eventually skip to activate such LVs ? - */ - if (!num_existing_areas && - !strstr(seg->lv->name, "_rmeta_") && - !strstr(seg->lv->name, "_rimage_") && - !strstr(seg->lv->name, "_mimage_") && - !((name = strstr(seg->lv->name, "_mlog")) && !name[5])) { - log_error("Cannot activate %s/%s: all segments missing.", - seg->lv->vg->name, seg->lv->name); - return 0; - } } return 1; |