From: Zdenek Kabelac <zkabelac@redhat.com>
To: lvm-devel@redhat.com
Subject: LVM2 test script failed, is it a read_ahead bug?
Date: Tue, 27 Aug 2013 12:42:32 +0200 [thread overview]
Message-ID: <521C8298.9060709@redhat.com> (raw)
In-Reply-To: <521C78A5.5000108@suse.com>
Dne 27.8.2013 12:00, Dongmao Zhang napsal(a):
> Dear mail-list,
> I met this in running the test case for lvm:
> sh shell/read-ahead.sh FAILED:
>
>
> - if (current_read_ahead >= read_ahead) {
> + if (current_read_ahead <= read_ahead) {
> log_debug_activation("%s: retaining kernel read
> ahead of %" PRIu32
> " (requested %" PRIu32 ")",
> dev_name, current_read_ahead, read_ahead);
>
> If I am wrong, please correct me:)
>
Basic rules for 'auto'mated read_ahead setting is simple: never set smaller
value then the one which has been already set by kernel when device has been
initialized.
If you need any specific more 'clever' value - simply use direct value for
lvcreate/lvchange --readahead.
There is no thing like 'minimal' RA estimation in lvm2.
It's quite tricky to estimate the ideal RA for devices and it mostly depends
on the type of use.
Zdenek
prev parent reply other threads:[~2013-08-27 10:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-27 10:00 LVM2 test script failed, is it a read_ahead bug? Dongmao Zhang
2013-08-27 10:42 ` Zdenek Kabelac [this message]
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=521C8298.9060709@redhat.com \
--to=zkabelac@redhat.com \
--cc=lvm-devel@redhat.com \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.