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

Report sector containing label in verbose message.

This commit is contained in:
Alasdair Kergon 2011-06-01 15:30:36 +00:00
parent 1fd2dac60b
commit 677ec408bf
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.86 -
=================================
Report sector containing label in verbose message.
Clarify error message when unable to convert an LV into a snapshot of an LV.
Add and use dev_open_readonly and variations.
Do not log a superfluous stack message when the lv is properly processed.

View File

@ -156,8 +156,10 @@ static struct labeller *_find_labeller(struct device *dev, char *buf,
dm_list_iterate_items(li, &_labellers) {
if (li->l->ops->can_handle(li->l, (char *) lh,
sector + scan_sector)) {
log_very_verbose("%s: %s label detected",
dev_name(dev), li->name);
log_very_verbose("%s: %s label detected at "
"sector %" PRIu64,
dev_name(dev), li->name,
sector + scan_sector);
if (found) {
log_error("Ignoring additional label "
"on %s at sector %" PRIu64,