Re: misc questions about kernel 2.4.x internals

Daniel Phillips (phillips@bonn-fries.net)
Mon, 20 Aug 2001 19:49:05 +0200


On August 20, 2001 04:52 pm, Christian Widmer wrote:
> 3) i had a look at the ll_rw_block and realised that it can block when there
> are to many buffers locked. when i use generic_make_request can i be
> shure that i wont block so that i can call it in a tasklet and don't need to
> switch to a kernel thread? i think that also needs that clustering function
> __make_request may not block. does it or does it not?

It blocks on the availability of a struct request, look at __get_request_wait.
This is how we do IO throttling in 2.4.8/9.

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