NeilBrown: Assemble: print verbose messages when finding members in containers
Martin F. Krafft
madduck at alioth.debian.org
Tue Oct 27 19:45:38 UTC 2009
Module: mdadm
Branch: build
Commit: 7636b5a8bb4f5bb3451d355ed0bb726e0615d631
URL: http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=7636b5a8bb4f5bb3451d355ed0bb726e0615d631
Author: NeilBrown <neilb at suse.de>
Date: Mon Oct 19 17:04:12 2009 +1100
Assemble: print verbose messages when finding members in containers
.. so that "-Av" gives more hints at what is going on.
Signed-off-by: NeilBrown <neilb at suse.de>
---
Assemble.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/Assemble.c b/Assemble.c
index 7da0905..54e725a 100644
--- a/Assemble.c
+++ b/Assemble.c
@@ -315,6 +315,9 @@ int Assemble(struct supertype *st, char *mddev,
}
/* It is worth looking inside this container.
*/
+ if (verbose > 0)
+ fprintf(stderr, Name ": looking in container %s\n",
+ devname);
next_member:
if (tmpdev->content)
content = tmpdev->content;
@@ -420,6 +423,9 @@ int Assemble(struct supertype *st, char *mddev,
st->ss->free_super(st);
return 1;
}
+ if (verbose > 0)
+ fprintf(stderr, Name ": found match on member %s in %s\n",
+ content->text_version, devname);
break;
}
if (st == NULL)
More information about the pkg-mdadm-commits
mailing list