All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add verbose log messages for LV stacking
@ 2008-01-17 17:56 Jun'ichi Nomura
  0 siblings, 0 replies; only message in thread
From: Jun'ichi Nomura @ 2008-01-17 17:56 UTC (permalink / raw)
  To: lvm-devel

Adding verbose log message for '-vvvv'.

Examples:

When adding a temporary layer for mirror resync:
...
#metadata/lv_manip.c:1861     Creating logical volume lvol1_mimagetmp_2
#metadata/lv_manip.c:2409       Inserting layer lvol1_mimagetmp_2 for lvol1
#metadata/lv_manip.c:346       Stack lvol1:0[0] on LV lvol1_mimagetmp_2:0
#metadata/lv_manip.c:46       Adding lvol1:0 as an user of lvol1_mimagetmp_2
..
#metadata/lv_manip.c:266       Remove lvol1:0[0] from the top of LV lvol1_mimage
tmp_2:0
#metadata/lv_manip.c:72       lvol1:0 is no longer a user of lvol1_mimagetmp_2
#metadata/lv_manip.c:346       Stack lvol1:0[0] on LV lvol1_mimagetmp_2:0
#metadata/lv_manip.c:46       Adding lvol1:0 as an user of lvol1_mimagetmp_2
#metadata/lv_manip.c:346       Stack lvol1:0[1] on LV lvol1_mimage_2:0
#metadata/lv_manip.c:46       Adding lvol1:0 as an user of lvol1_mimage_2
..

Then, removing the temporary layer:
#metadata/mirror.c:456       Reducing mirror set from 2 to 1 image(s) and no log volume.
#metadata/lv_manip.c:266       Remove lvol1:0[1] from the top of LV lvol1_mimage_2:0
#metadata/lv_manip.c:72       lvol1:0 is no longer a user of lvol1_mimage_2
#metadata/lv_manip.c:2336       Removing layer lvol1_mimagetmp_2 for lvol1
#metadata/lv_manip.c:346       Stack lvol1:0[2] on LV lvol1_mimage_2:0
#metadata/lv_manip.c:46       Adding lvol1:0 as an user of lvol1_mimage_2
...

Thanks,
-- 
Jun'ichi Nomura, NEC Corporation of America
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-verbose-log-for-add-mirror.patch
Type: text/x-patch
Size: 3298 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20080117/f0d541fd/attachment.bin>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-17 17:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-17 17:56 [PATCH] Add verbose log messages for LV stacking Jun'ichi Nomura

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.