mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +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:
parent
5886ff64eb
commit
b3c81d02c9
@ -655,11 +655,8 @@ static int _vg_write_raw(struct format_instance *fid, struct volume_group *vg,
|
|||||||
if ((new_wrap && old_wrap) ||
|
if ((new_wrap && old_wrap) ||
|
||||||
(rlocn && (new_wrap || old_wrap) && (new_end > rlocn->offset)) ||
|
(rlocn && (new_wrap || old_wrap) && (new_end > rlocn->offset)) ||
|
||||||
(mdac->rlocn.size >= mdah->size)) {
|
(mdac->rlocn.size >= mdah->size)) {
|
||||||
log_error("VG %s metadata too large: size of metadata to write "
|
log_error("VG %s metadata too large for circular buffer",
|
||||||
"is %" PRIu64 " bytes while PV metadata area size "
|
vg->name);
|
||||||
"on %s is %" PRIu64 " bytes.",
|
|
||||||
vg->name, mdac->rlocn.size,
|
|
||||||
dev_name(mdac->area.dev), mdah->size);
|
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user