public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2 ./WHATS_NEW test/t-lvcreate-usage.sh
@ 2009-12-03  1:48 wysochanski
  0 siblings, 0 replies; only message in thread
From: wysochanski @ 2009-12-03  1:48 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	wysochanski@sourceware.org	2009-12-03 01:48:07

Modified files:
	.              : WHATS_NEW 
	test           : t-lvcreate-usage.sh 

Log message:
	Add tests to check for readahead value in lvcreate.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1336&r2=1.1337
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/t-lvcreate-usage.sh.diff?cvsroot=lvm2&r1=1.16&r2=1.17

--- LVM2/WHATS_NEW	2009/12/01 19:10:23	1.1336
+++ LVM2/WHATS_NEW	2009/12/03 01:48:05	1.1337
@@ -1,5 +1,6 @@
 Version 2.02.57 -
 ====================================
+  Fix lvcreate --readahead.
   Fix clvmd memory leak in lv_info_by_lvid.
   Do not allow creating mirrors of more than 8 images.
   Use locking_type 3 (compiled in cluster locking) in lvmconf.
--- LVM2/test/t-lvcreate-usage.sh	2009/09/30 16:13:53	1.16
+++ LVM2/test/t-lvcreate-usage.sh	2009/12/03 01:48:07	1.17
@@ -125,3 +125,18 @@
 lvchange -a n $vg/$lv1
 lvremove $vg/$lv1
 lvremove -ff $vg
+
+# readahead default (auto), none, #, auto
+lvcreate -L 32m -n $lv $vg
+check_lv_field_ $vg/$lv lv_read_ahead "auto"
+lvremove -ff $vg
+lvcreate -L 32m -n $lv --readahead none $vg
+check_lv_field_ $vg/$lv lv_read_ahead "0"
+lvremove -ff $vg
+lvcreate -L 32m -n $lv --readahead 8k $vg
+check_lv_field_ $vg/$lv lv_read_ahead "8.00k"
+lvremove -ff $vg
+lvcreate -L 32m -n $lv --readahead auto $vg
+check_lv_field_ $vg/$lv lv_read_ahead "auto"
+lvremove -ff $vg
+


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

only message in thread, other threads:[~2009-12-03  1:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-03  1:48 LVM2 ./WHATS_NEW test/t-lvcreate-usage.sh wysochanski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).