public inbox for
help / color / mirror / Atom feed
Subject: LVM2/test
Date: Mon, 11 May 2009 16:17:00 -0000	[thread overview]
Message-ID: <> (raw)

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	2009-05-11 16:17:12

Modified files:
	test           : 

Log message:
	Update to validate lv_read_ahead and lv_kernel_read_ahead.
	- check default values
	- check active/inactive values


--- LVM2/test/	2008/11/10 12:43:35	1.4
+++ LVM2/test/	2009/05/11 16:17:12	1.5
@@ -43,3 +43,13 @@
 check_lvs_ lv_read_ahead 400                                   
 lvremove -ff "$vg"
+# Check default, active/inactive values for read_ahead / kernel_read_ahead
+lvcreate -n $lv -l 50%FREE $vg
+lvchange -an $vg/$lv
+check_lv_field_ $vg/$lv lv_read_ahead auto
+check_lv_field_ $vg/$lv lv_kernel_read_ahead -1
+lvchange -r 512 $vg/$lv
+lvchange -ay $vg/$lv
+check_lv_field_ $vg/$lv lv_read_ahead 256.00K
+check_lv_field_ $vg/$lv lv_kernel_read_ahead 256.00K
+lvremove -ff $vg

             reply	other threads:[~2009-05-11 16:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-11 16:17 wysochanski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-05-20 11:27 mbroz
2008-08-04  9:15 zkabelac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).