From: "Philipp Kohlbecher" <xt28@gmx.de>
To: linux-kernel@vger.kernel.org
Subject: ra_pages and max_sectors
Date: Sat, 14 Oct 2006 21:17:37 +0200 [thread overview]
Message-ID: <20061014191737.323490@gmx.net> (raw)
Hello!
I was wondering why I can change the read-ahead size of my DVD drive via hdparm -a [size], but not by writing into /sys/block/hdb/queue/read_ahead_kb.
In other words: Why does queue_ra_store() [block/ll_rw_blk.c:3755] perform the following check
if (ra_kb > (q->max_sectors >> 1))
ra_kb = (q->max_sectors >> 1);
while blkdev_locked_ioctl() [block/ioctl.c:138] does not check this in the case that cmd == BLKRASET?
Thanks for your consideration,
- Philipp Kohlbecher
Please CC me -- I'm not on the list.
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
reply other threads:[~2006-10-14 19:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20061014191737.323490@gmx.net \
--to=xt28@gmx.de \
--cc=linux-kernel@vger.kernel.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: 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