public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Peter Osterlund <peter.osterlund@mailbox.swipnet.se>
Cc: linux-kernel@vger.kernel.org, Rik van Riel <riel@conectiva.com.br>
Subject: Re: hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
Date: Sat, 29 Dec 2001 16:07:30 +0100	[thread overview]
Message-ID: <20011229160730.A1821@suse.de> (raw)
In-Reply-To: <20011228115956.E2973@suse.de> <Pine.LNX.4.33L.0112281028070.24031-100000@imladris.surriel.com> <20011228133350.B834@suse.de> <m2666rta4t.fsf@pengo.localdomain>
In-Reply-To: <m2666rta4t.fsf@pengo.localdomain>

On Fri, Dec 28 2001, Peter Osterlund wrote:
> Jens Axboe <axboe@suse.de> writes:
> 
> > On Fri, Dec 28 2001, Rik van Riel wrote:
> > > On Fri, 28 Dec 2001, Jens Axboe wrote:
> > > >
> > > > Tried reading the source?
> > >
> > > As usual, without documentation you only know what the code
> > > does, not what it's supposed to do or why it does it.
> >
> > please look at the source before making such comments -- it's quite
> > adequately commented.
> 
> I agree, but I have one specific question though. What are the
> bi_end_io() functions supposed to return? The return value doesn't
> ever seem to be used (yet?), so reading the source code can not answer
> that question.

They were supposed to return 0 if the bio was completely done, or 1 if
there was remaining I/O to be done. Right now it's unused, so just
return 0 for success.

-- 
Jens Axboe


  reply	other threads:[~2001-12-29 15:08 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-06  6:13 hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error } Daniel Stodden
2001-12-06  6:55 ` Sven.Riedel
2001-12-06 15:04 ` Matthias Andree
2001-12-23  7:24 ` Andre Hedrick
2001-12-23  7:53   ` Andrew Morton
2001-12-22 20:25     ` T. A.
2001-12-23 11:18     ` Peter Osterlund
2001-12-23 13:31   ` Alan Cox
2001-12-23 22:08     ` Andre Hedrick
2001-12-27 14:54       ` Jens Axboe
2001-12-27 16:42         ` Alan Cox
2001-12-27 16:51           ` Jens Axboe
2001-12-27 17:46             ` Linus Torvalds
2001-12-27 18:32               ` Andre Hedrick
2001-12-27 21:15               ` Legacy Fishtank
2001-12-27 17:50             ` Alan Cox
2001-12-28  2:05         ` Andre Hedrick
2001-12-28 10:59           ` Jens Axboe
2001-12-28 12:29             ` Rik van Riel
2001-12-28 12:33               ` Jens Axboe
2001-12-28 13:00                 ` Jens Axboe
2001-12-28 19:30                 ` Peter Osterlund
2001-12-29 15:07                   ` Jens Axboe [this message]
2001-12-28 20:23             ` Andre Hedrick
2001-12-29 14:15               ` Jens Axboe
2001-12-29 20:58                 ` You WIN Andre Hedrick
2001-12-31 12:58                   ` Jens Axboe

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=20011229160730.A1821@suse.de \
    --to=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peter.osterlund@mailbox.swipnet.se \
    --cc=riel@conectiva.com.br \
    /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