From: Pete Zaitcev <zaitcev@redhat.com>
To: torvalds@transmeta.com
Cc: linux-kernel@vger.kernel.org
Subject: patch to ide-tape once again
Date: Sat, 21 Jul 2001 13:56:54 -0400 [thread overview]
Message-ID: <20010721135654.A20306@devserv.devel.redhat.com> (raw)
I am disappointed that my fix did not make it into 2.4.7,
but perhaps it had something to do with the diff filenames?
I tried to work through a maintainer, but apparently Gadi quit
(Andre told me).
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=38404
(data corruption while reading near EOF mark).
--- linux-2.4.7/drivers/ide/ide-tape.c Sat Jul 21 10:44:24 2001
+++ linux-2.4.7-tr5/drivers/ide/ide-tape.c Sat Jul 21 10:45:41 2001
@@ -4099,9 +4099,14 @@
}
if (rq_ptr->errors == IDETAPE_ERROR_EOD)
return 0;
- else if (rq_ptr->errors == IDETAPE_ERROR_FILEMARK)
+ if (rq_ptr->errors == IDETAPE_ERROR_FILEMARK) {
+ idetape_switch_buffers (tape, tape->first_stage);
set_bit (IDETAPE_FILEMARK, &tape->flags);
- else {
+#if USE_IOTRACE
+ IO_trace(IO_IDETAPE_FIFO, tape->pipeline_head, tape->buffer_head, tape->tape_head, tape->minor);
+#endif
+ calculate_speeds(drive);
+ } else {
idetape_switch_buffers (tape, tape->first_stage);
if (rq_ptr->errors == IDETAPE_ERROR_GENERAL) {
#if ONSTREAM_DEBUG
reply other threads:[~2001-07-21 17:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20010721135654.A20306@devserv.devel.redhat.com \
--to=zaitcev@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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