* patch to ide-tape once again
@ 2001-07-21 17:56 Pete Zaitcev
0 siblings, 0 replies; only message in thread
From: Pete Zaitcev @ 2001-07-21 17:56 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-07-21 17:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-21 17:56 patch to ide-tape once again Pete Zaitcev
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.