From: Jens Axboe <axboe@suse.de>
To: jmerkey@comcast.net
Cc: linux-kernel@vger.kernel.org, jmerkey@drdos.com
Subject: Re: 2.6.9-rc2-mm4 BIO's still broken
Date: Sun, 3 Oct 2004 14:23:33 +0200 [thread overview]
Message-ID: <20041003122333.GI2296@suse.de> (raw)
In-Reply-To: <100120041714.26442.415D9057000F388B0000674A2200734840970A059D0A0306@comcast.net>
(please wrap your out going emails, the lines are way too long)
On Fri, Oct 01 2004, jmerkey@comcast.net wrote:
>
> I have more information on the problem with bio requests. I am seeing
> the bi_size value return through bi_end_io early with an odd size if
> the interface is passed an unaligned 4K write. What's busted here is
> that bio_add_page accepts the 4K unaligned write request, then the
> callback from the SCSI layer calls back with a partial compleation
> with the bi_size field set to the value of 0x1FE (????) and no other
> callback is received. What's busted here is if you use the
> recommended logic of
>
> if (bio->bi_size) return 1;
>
> then you never get the completed callback and the IO request just sits
> off in left field and the driver never returns any error status
> through the callback interface. I am also still seeing the
> disappearing pages and after tracking through the code, I am certain
> they are related since I am not getting any callbacks from the driver
> layer after I receive the first end_io callback with bi_size set.
Please send a test case, thanks.
--
Jens Axboe
prev parent reply other threads:[~2004-10-03 12:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-01 17:14 jmerkey
2004-10-03 12:23 ` Jens Axboe [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=20041003122333.GI2296@suse.de \
--to=axboe@suse.de \
--cc=jmerkey@comcast.net \
--cc=jmerkey@drdos.com \
--cc=linux-kernel@vger.kernel.org \
/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
Powered by JetHome