Re: Linux 2.6.6 "IDE cache-flush at shutdown fixes"

From: Bartlomiej Zolnierkiewicz
Date: Mon May 10 2004 - 19:34:17 EST


On Monday 10 of May 2004 23:13, you wrote:
> Bartlomiej Zolnierkiewicz wrote:
> > Rene, can you test these (incremental) patches?
> >
> > + if (drive->usage != 1)
> > + return 0;
>
> Only this one does not make a change.
>
> > - if (drive->usage != 1)
> > + if (drive->usage != 1 || !drive->removable)

Thanks.

Rene, can you send me copies of /proc/ide/hda/identify and
/proc/ide/hdc/identify? I still would like to know why these
drives don't accept flush cache commands (or it is a driver's bug?).

> With this one, the cache flushing noise is no more, but still a problem
> unfortunately. With or without these patches, 2.6.6 powers down the
> drive during reboot. This is very annoying, seeing as how it immediately
> needs to spin up again for POST.

There is a problem with new 2.6 generic ->shutdown framework,
it doesn't differentiate between reboot / halt and power_off.
We may try to fix it or revert to 2.4 way of doing things if
this is too big change for 2.6.

Thanks,
Bartlomiej

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/