public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Stephen C. Tweedie" <sct@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: Stephen Tweedie <sct@redhat.com>, Robert Read <rread@datarithm.net>
Subject: Re: [patch] set kiobuf io_count once, instead of increment
Date: Fri, 2 Mar 2001 18:43:08 +0000	[thread overview]
Message-ID: <20010302184308.Z28854@redhat.com> (raw)
In-Reply-To: <20010227162222.A6389@tenchi.datarithm.net>
In-Reply-To: <20010227162222.A6389@tenchi.datarithm.net>; from rread@datarithm.net on Tue, Feb 27, 2001 at 04:22:22PM -0800

On Tue, Feb 27, 2001 at 04:22:22PM -0800, Robert Read wrote:
> Currently in brw_kiovec, iobuf->io_count is being incremented as each
> bh is submitted, and decremented in the bh->b_end_io().  This means
> io_count can go to zero before all the bhs have been submitted,
> especially during a large request. This causes the end_kio_request()
> to be called before all of the io is complete.  

brw_kiovec is currently entirely synchronous, so end_kio_request()
calling is probably not a big deal right now.  It would be much more
important for an async version.

--Stephen

      parent reply	other threads:[~2001-03-02 18:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-28  0:22 [patch] set kiobuf io_count once, instead of increment Robert Read
2001-02-28  1:50 ` Marcelo Tosatti
2001-02-28 17:18   ` Robert Read
2001-03-02 18:46     ` Stephen C. Tweedie
2001-03-02 18:43 ` Stephen C. Tweedie [this message]

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=20010302184308.Z28854@redhat.com \
    --to=sct@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rread@datarithm.net \
    /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