[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] LVM2/lib/thin thin.c



CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac sourceware org	2011-10-28 20:25:08

Modified files:
	lib/thin       : thin.c 

Log message:
	Thin output data_block_size via outsize
	
	Use outsize to get nice size hint.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/thin/thin.c.diff?cvsroot=lvm2&r1=1.25&r2=1.26

--- LVM2/lib/thin/thin.c	2011/10/22 16:45:25	1.25
+++ LVM2/lib/thin/thin.c	2011/10/28 20:25:08	1.26
@@ -155,7 +155,8 @@
 	outf(f, "pool = \"%s\"", seg_lv(seg, 0)->name);
 	outf(f, "transaction_id = %" PRIu64, seg->transaction_id);
 // FIXME  maybe switch to use  chunksize (as with snapshot ??)
-	outf(f, "data_block_size = %u", seg->data_block_size);
+	outsize(f, (uint64_t) seg->data_block_size,
+		"data_block_size = %u", seg->data_block_size);
 
 	if (seg->low_water_mark)
 		outf(f, "low_water_mark = %" PRIu64, seg->low_water_mark);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]