"header at %" PRIu64, vg->name,
dev_name(mdac->area.dev), mdac->area.start);
+ rlocn_set_ignored(mdah->raw_locns, mda_is_ignored(mda));
if (!_raw_write_mda_header(fid->fmt, mdac->area.dev, mdac->area.start,
mdah)) {
dm_pool_free(fid->fmt->cmd->mem, mdah);
rlocn->offset = 0;
rlocn->size = 0;
rlocn->checksum = 0;
+ rlocn_set_ignored(mdah->raw_locns, mda_is_ignored(mda));
if (!_raw_write_mda_header(fid->fmt, mdac->area.dev, mdac->area.start,
mdah)) {
mdac = mda->metadata_locn;
memset(&buf, 0, sizeof(buf));
mdah->size = mdac->area.size;
+ rlocn_set_ignored(mdah->raw_locns, mda_is_ignored(mda));
if (!_raw_write_mda_header(fmt, mdac->area.dev,
mdac->area.start, mdah)) {
if (!dev_close(pv->dev))
dm_list_iterate_items(mda, &info->mdas) {
mdac = (struct mda_context *) mda->metadata_locn;
if (!dev_open(mdac->area.dev)) {
+ mda_set_ignored(mda, 1);
stack;
continue;
}
stack;
goto close_dev;
}
+ mda_set_ignored(mda, rlocn_is_ignored(mdah->raw_locns));
if ((vgname = vgname_from_mda(info->fmt, mdah,
&mdac->area,