public inbox for lvm2-cvs@sourceware.org help / color / mirror / Atom feed
From: wysochanski@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/test t-read-ahead.sh Date: Mon, 11 May 2009 16:17:00 -0000 [thread overview] Message-ID: <20090511161713.11722.qmail@sourceware.org> (raw) CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: wysochanski@sourceware.org 2009-05-11 16:17:12 Modified files: test : t-read-ahead.sh Log message: Update t-read-ahead.sh to validate lv_read_ahead and lv_kernel_read_ahead. - check default values - check active/inactive values Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/t-read-ahead.sh.diff?cvsroot=lvm2&r1=1.4&r2=1.5 --- LVM2/test/t-read-ahead.sh 2008/11/10 12:43:35 1.4 +++ LVM2/test/t-read-ahead.sh 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
next 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: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20090511161713.11722.qmail@sourceware.org \ --to=wysochanski@sourceware.org \ --cc=lvm-devel@redhat.com \ --cc=lvm2-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe 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).