mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
metadata: use log_debug_metadata instead of general log_debug for BA debug messages
This commit is contained in:
parent
e3ccf98023
commit
1806694928
@ -251,7 +251,7 @@ static int _read_pv(struct format_instance *fid,
|
|||||||
_read_uint64(pvn, "ba_start", &ba_start);
|
_read_uint64(pvn, "ba_start", &ba_start);
|
||||||
_read_uint64(pvn, "ba_size", &size);
|
_read_uint64(pvn, "ba_size", &size);
|
||||||
if (ba_start && size) {
|
if (ba_start && size) {
|
||||||
log_debug("Found bootloader area specification for PV %s "
|
log_debug_metadata("Found bootloader area specification for PV %s "
|
||||||
"in metadata: ba_start=%" PRIu64 ", ba_size=%" PRIu64 ".",
|
"in metadata: ba_start=%" PRIu64 ", ba_size=%" PRIu64 ".",
|
||||||
pv_dev_name(pv), ba_start, size);
|
pv_dev_name(pv), ba_start, size);
|
||||||
pv->ba_start = ba_start;
|
pv->ba_start = ba_start;
|
||||||
|
@ -418,8 +418,8 @@ static int _text_read(struct labeller *l, struct device *dev, void *buf,
|
|||||||
if (!(ext_version = xlate32(pvhdr_ext->version)))
|
if (!(ext_version = xlate32(pvhdr_ext->version)))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
log_debug("%s: PV header extension version %" PRIu32 " found",
|
log_debug_metadata("%s: PV header extension version %" PRIu32 " found",
|
||||||
dev_name(dev), ext_version);
|
dev_name(dev), ext_version);
|
||||||
|
|
||||||
/* Bootloader areas */
|
/* Bootloader areas */
|
||||||
dlocn_xl = pvhdr_ext->bootloader_areas_xl;
|
dlocn_xl = pvhdr_ext->bootloader_areas_xl;
|
||||||
|
Loading…
Reference in New Issue
Block a user