mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Phillips <phillips@bonn-fries.net>
To: llx@swissonline.ch, linux-kernel@vger.kernel.org
Subject: Re: misc questions about kernel 2.4.x internals
Date: Mon, 20 Aug 2001 19:49:05 +0200	[thread overview]
Message-ID: <20010820174231Z16441-32386+48@humbolt.nl.linux.org> (raw)
In-Reply-To: <200108201452.f7KEqxk18219@mail.swissonline.ch>
In-Reply-To: <200108201452.f7KEqxk18219@mail.swissonline.ch>

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

  reply	other threads:[~2001-08-20 17:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-20 14:52 Christian Widmer
2001-08-20 17:49 ` Daniel Phillips [this message]
2001-08-20 18:57 ` george anzinger
2001-08-20 19:46   ` Christian Widmer
2001-08-20 20:49     ` george anzinger
2001-08-20 20:52 ` Anders Peter Fugmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010820174231Z16441-32386+48@humbolt.nl.linux.org \
    --to=phillips@bonn-fries.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llx@swissonline.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®