From b3c81d02c974eda1c33afd88517d899e64aea24e Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Thu, 29 Oct 2015 11:08:28 +0100 Subject: [PATCH] revert: 3d03e504cda6307f692c5879f6850b2e27af7d71: message about VG metadata size vs. PV mda size The message needs refinement - it's not correct in all situations. --- lib/format_text/format-text.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/format_text/format-text.c b/lib/format_text/format-text.c index c1c4787bf..e0ec8edf1 100644 --- a/lib/format_text/format-text.c +++ b/lib/format_text/format-text.c @@ -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; }