LVM2 ./WHATS_NEW lib/format_text/text_label.c ...
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2009-02-20 23:19:28
Modified files:
. : WHATS_NEW
lib/format_text: text_label.c
lib/label : label.c
Log message:
Provide da and mda locations in debug message when writing text format label.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1045&r2=1.1046
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/format_text/text_label.c.diff?cvsroot=lvm2&r1=1.22&r2=1.23
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/label/label.c.diff?cvsroot=lvm2&r1=1.45&r2=1.46
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.45 - =================================== + Provide da and mda locations in debug message when writing text format label. Mention the restriction on file descriptors at invocation on the lvm man page. Index cached vgmetadata by vgid not vgname to cope with duplicate vgnames. No longer require kernel and metadata major numbers to match.
lib/format_text/text_label.c +51 -0
69 lines not on this page · raw message
lib/label/label.c +3 -2
@@ -329,8 +329,9 @@if (!dev_open (dev)) return_0; -log_info ("%s: Writing label to sector %" PRIu64,dev_name (dev), - label->sector); +log_info ("%s: Writing label to sector %" PRIu64" with stored offset %" + PRIu32"." ,dev_name (dev), label->sector, +xlate32 (lh->offset_xl));if (!dev_write (dev, label->sector <<SECTOR_SHIFT ,LABEL_SIZE , buf)) {log_debug ("Failed to write label to %s" ,dev_name (dev)); r =0 ;