The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: alan@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: Warn about taskfile?
Date: Thu, 31 Jul 2003 12:28:28 +0200	[thread overview]
Message-ID: <20030731102827.GD464@elf.ucw.cz> (raw)
In-Reply-To: <Pine.SOL.4.30.0307310058580.17352-100000@mion.elka.pw.edu.pl>

Hi!

> > > > I had some strange fs corruption, and andi suggested that it probably
> > > > is TASKFILE-related. Perhaps this is good idea?
> > >
> > > Idea is good.
> > >
> > > Did corruption go away after disabling taskfile?
> >
> > Not sure, it took week for corruption to creep in, and it might have
> > been loop-related or swsusp-related. I'm not at all sure it was
> > TASKFILE, but I'm turning it off for now.
> 
> I doubt it was taskfile, your /dev/hda is using UDMA so taskfile's impact
> is minimal.  I've checked this codepath once again today and can't
> see anything which has (possibly) caused Andi's problems.
> 
> I think if it is taskfile related it might be caused by some timing issues
> (races) and should be visible (less frequently) with non-taskfile code too
> and this is not happening.
> 
> If you are not sure if it was taskfile why do you want to warn about it?
> [ Because Andi is spreading FUD about taskfile? ;-) ]

This was i386 machine, but I'm not sure if I told that to Andi.

> > At least it is strange to have option that says both "experimental"
> > and "it is safe to say Y". What are those "most cases"?
> 
> Using (U)DMA should be 100% safe, using single-sector PIO should
> also be safe, using multi-sector PIO might be less safe...

Perhaps this is good idea?
								Pavel

--- clean/drivers/ide/Kconfig	2003-07-27 22:31:13.000000000 +0200
+++ linux/drivers/ide/Kconfig	2003-07-31 12:24:16.000000000 +0200
@@ -283,7 +283,8 @@
 	---help---
 	  Use new taskfile IO code.
 
-	  It is safe to say Y to this question, in most cases.
+  	  It is safe to say Y to this question if you are using (U)DMA or
+	  single-sector PIO. Be carefull wilh multi-sector PIO.
 
 comment "IDE chipset support/bugfixes"
 	depends on BLK_DEV_IDE


-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]

  reply	other threads:[~2003-07-31 10:28 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-30 20:59 Warn about taskfile? Pavel Machek
2003-07-30 21:11 ` Alan Cox
2003-07-30 23:03   ` Pavel Machek
2003-07-30 23:12     ` Alan Cox
2003-07-30 23:31   ` Oliver Xymoron
2003-07-30 21:21 ` Robert Love
2003-07-30 21:25   ` Sean Estabrooks
2003-07-30 21:45 ` Bartlomiej Zolnierkiewicz
2003-07-30 22:43   ` Diego Calleja García
2003-07-30 22:55   ` Pavel Machek
2003-07-30 23:20     ` Bartlomiej Zolnierkiewicz
2003-07-31 10:28       ` Pavel Machek [this message]
2003-07-31 13:00         ` Andre Hedrick
2003-07-31 14:03           ` Pavel Machek
2003-07-30 23:17   ` Andre Hedrick
2003-07-30 23:14 ` Andre Hedrick

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=20030731102827.GD464@elf.ucw.cz \
    --to=pavel@suse.cz \
    --cc=B.Zolnierkiewicz@elka.pw.edu.pl \
    --cc=alan@redhat.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