Skip to contentSkip to conversation

LVM2 ./WHATS_NEW tools/toollib.c

PATCH [email protected] 1 participant 1 message Oct 24, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2006-10-24 18:25:30

Modified files:
. : WHATS_NEW
tools : toollib.c

Log message:
Add dev_flush() to set_lv()

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.480&r2=1.481
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/toollib.c.diff?cvsroot=lvm2&r1=1.91&r2=1.92

WHATS_NEW +1 -0
@@ -1,5 +1,6 @@
 Version 2.02.13 -
 ===================================
+  Add dev_flush() to set_lv().
   Add lvchange --resync.
   Perform high-level free space check before each allocation attempt.
   Don't allow a node to remove an LV that's exclusively active on anther node.
tools/toollib.c +1 -0
@@ -1222,6 +1222,7 @@
 		return 0;
 
 	dev_set(dev, UINT64_C(0), (size_t) 4096, value);
+	dev_flush(dev);
 	dev_close_immediate(dev);
 
 	return 1;