Re: [PATCH] deadline io scheduler

Jens Axboe
2002-09-30T08:05:54Z

On Fri, Sep 27 2002, Daniel Pittman wrote:
> >> This is a situation where, for a dedicated machine, delaying reads
> >> almost forever is actually a valuable thing. At least, valuable until
> >> it stops the writes from being able to proceed.
> >
> > Well 0 should achieve that quite fine
>
> Would you consider allowing something akin to 'writes_starved = -4' to
> allow writes to bypass reads only 4 times -- a preference for writes,
> but not forever?

Sure yes, that would be an acceptable solution.

--
Jens Axboe