From: Helge Hafting <helgehaf@aitel.hist.no>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Alan Stern <stern@rowland.harvard.edu>,
Jens Axboe <axboe@suse.de>,
Kernel development list <linux-kernel@vger.kernel.org>
Subject: Re: BUG in the block layer (partial reads not reported)
Date: Mon, 24 Oct 2005 00:12:04 +0200 [thread overview]
Message-ID: <20051023221204.GA20162@aitel.hist.no> (raw)
In-Reply-To: <1129915917.3542.7.camel@localhost.localdomain>
On Fri, Oct 21, 2005 at 06:31:57PM +0100, Alan Cox wrote:
>
> The essential problem however is that if you say a disc is a given size
> and it turns out not to be (as happens with CD-R especially or with
> buggy readers) then Linux block layer can't cope. Its well known and
> causes endless problems for CD-R users with some IDE drives on Linux.
> Its a big generator of 2.6 vendor bug reports.
>
Seems to me that the best fix for devices that may re�port the wrong size
is to always use a foolproof way of determining the size. I.e. when
a CD-R cannot be trusted, determine the size by trying to read the
last sectors instead of using the reported number.
Helge Hafting
next prev parent reply other threads:[~2005-10-23 22:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-20 20:39 Alan Stern
2005-10-21 17:31 ` Alan Cox
2005-10-22 15:40 ` Alan Stern
2005-10-22 18:23 ` Alan Cox
2005-10-24 21:28 ` Alan Stern
2005-10-23 22:12 ` Helge Hafting [this message]
2005-10-23 23:14 ` Alan Cox
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=20051023221204.GA20162@aitel.hist.no \
--to=helgehaf@aitel.hist.no \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=axboe@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=stern@rowland.harvard.edu \
/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®