1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

revert: 3d03e504cd: message about VG metadata size vs. PV mda size

The message needs refinement - it's not correct in all situations.
This commit is contained in:
Peter Rajnoha 2015-10-29 11:08:28 +01:00
parent 5886ff64eb
commit b3c81d02c9

View File

@ -655,11 +655,8 @@ static int _vg_write_raw(struct format_instance *fid, struct volume_group *vg,
if ((new_wrap && old_wrap) ||
(rlocn && (new_wrap || old_wrap) && (new_end > rlocn->offset)) ||
(mdac->rlocn.size >= mdah->size)) {
log_error("VG %s metadata too large: size of metadata to write "
"is %" PRIu64 " bytes while PV metadata area size "
"on %s is %" PRIu64 " bytes.",
vg->name, mdac->rlocn.size,
dev_name(mdac->area.dev), mdah->size);
log_error("VG %s metadata too large for circular buffer",
vg->name);
goto out;
}