From: Pavel Machek <pavel@suse.cz>
To: Alan Cox <alan@redhat.com>
Cc: kernel list <linux-kernel@vger.kernel.org>
Subject: Re: Warn about taskfile?
Date: Thu, 31 Jul 2003 01:03:32 +0200 [thread overview]
Message-ID: <20030730230332.GD144@elf.ucw.cz> (raw)
In-Reply-To: <200307302111.h6ULBci06803@devserv.devel.redhat.com>
Hi!
> > I had some strange fs corruption, and andi suggested that it probably
> > is TASKFILE-related. Perhaps this is good idea?
>
> Well without taskfile multimode may corrupt your disks, so pick one.
> This needs debugging not paranoia.
Can you explain a bit more? If multi_mode needs taskfile perhaps we
need to kill compilation? [Attached patch probably is not enough,
AFAICS multimode can be turned on without this config option, but it
should be clear what I mean.]
> > + It is safe to say Y to this question, but you should attach
> > + scratch monkey, first.
>
> "a scratch monkey" - also a lot of people won't get the reference
Okay, it is probably not the best help text ever.
If I want safest possible configuration for 2.6.0, is
CONFIG_TASKFILE_IO=n, CONFIG_IDEDISK_MULTI_MODE=n and hdparm -c 1
/dev/hda good idea?
Pavel
--- clean/drivers/ide/ide-disk.c 2003-07-27 22:31:13.000000000 +0200
+++ linux/drivers/ide/ide-disk.c 2003-07-31 00:59:36.000000000 +0200
@@ -1650,6 +1650,9 @@
drive->mult_count = 0;
if (id->max_multsect) {
#ifdef CONFIG_IDEDISK_MULTI_MODE
+#ifndef CONFIG_TASKFILE_IO
+#error IDEDISK_MULTI_MODE needs TASKFILE_IO for safe operation
+#endif
id->multsect = ((id->max_multsect/2) > 1) ? id->max_multsect : 0;
id->multsect_valid = id->multsect ? 1 : 0;
drive->mult_req = id->multsect_valid ? id->max_multsect : INITIAL_MULT_COUNT;
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
next prev parent reply other threads:[~2003-07-30 23:05 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 [this message]
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
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=20030730230332.GD144@elf.ucw.cz \
--to=pavel@suse.cz \
--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 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.