Re: misc questions about kernel 2.4.x internals

From: Daniel Phillips (phillips@bonn-fries.net)
Date: Mon Aug 20 2001 - 12:49:05 EST


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/



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:36 EST