Re: [patch] max-sectors-2.6.9-rc1-bk14-A0

From: Jens Axboe
Date: Wed Sep 08 2004 - 05:19:38 EST


On Wed, Sep 08 2004, Ingo Molnar wrote:
>
> this is a re-send of the max-sectors patch against 2.6.9-rc1-bk14.
>
> the attached patch introduces two new /sys/block values:
>
> /sys/block/*/queue/max_hw_sectors_kb
> /sys/block/*/queue/max_sectors_kb
>
> max_hw_sectors_kb is the maximum that the driver can handle and is
> readonly. max_sectors_kb is the current max_sectors value and can be
> tuned by root. PAGE_SIZE granularity is enforced.
>
> It's all locking-safe and all affected layered drivers have been updated
> as well. The patch has been in testing for a couple of weeks already as
> part of the voluntary-preempt patches and it works just fine - people
> use it to reduce IDE IRQ handling latencies. Please apply.

Wasn't the move of the ide_lock grabbing enough to solve this problem by
itself?


--
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/