[PATCH] ll_rw_blk: allow more flexibility for read_ahead_kb store
authorJens Axboe <axboe@suse.de>
Fri, 21 Jul 2006 18:30:28 +0000 (20:30 +0200)
committerJens Axboe <axboe@nelson.home.kernel.dk>
Sat, 30 Sep 2006 18:29:41 +0000 (20:29 +0200)
commitda20a20f3b5c175648fa797c899dd577e4dacb51
tree690ba6f8f4f62a9deaa2b6d5d3cf6bd3220dac1b
parentbf57225670bcbeb357182d800736b4782cde7295
[PATCH] ll_rw_blk: allow more flexibility for read_ahead_kb store

It can make sense to set read-ahead larger than a single request.
We should not be enforcing such policy on the user. Additionally,
using the BLKRASET ioctl doesn't impose such a restriction. So
additionally we now expose identical behaviour through the two.

Issue also reported by Anton <cbou@mail.ru>

Signed-off-by: Jens Axboe <axboe@suse.de>
block/ll_rw_blk.c