From: Rene Herman <rene.herman@keyaccess.nl>
To: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>,
Alan Cox <alan@redhat.com>
Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org,
Andrew Morton <akpm@osdl.org>,
"Eric D. Mudama" <edmudama@mail.bounceswoosh.org>,
Jens Axboe <axboe@suse.de>
Subject: Re: [RFT][PATCH] ide-disk.c: more write cache fixes
Date: Sun, 16 May 2004 23:15:18 +0200 [thread overview]
Message-ID: <40A7D9E6.1090900@keyaccess.nl> (raw)
In-Reply-To: <200405162220.23971.bzolnier@elka.pw.edu.pl>
Bartlomiej Zolnierkiewicz wrote:
> On Sunday 16 of May 2004 21:58, Alan Cox wrote:
>
>>On Fri, May 14, 2004 at 01:58:58PM +0200, Rene Herman wrote:
>>
>>>Have again attached a 'rollup' patch against vanilla 2.6.6, including
>>>this, Andrew's SYSTEM_SHUTDOWN split and the quick "don't switch of
>>>spindle if rebooting" hack. Again, just in case anyone finds it useful.
>>
>>This reintroduces corruption on my thinkpad 600.
>
> [ this corruption was fixed by kernel 2.6.6 ]
>
> Please see if reverting changes to ide_device_shutdown() helps.
Bart, could something like:
if (system_state == SYSTEM_RESTART) {
ide_cache_flush_p(drive)
return;
}
(as opposed to just the return in that patch and -mm3) possibly help? I
sort of expect that ide_cache_flush_p() is already called further on up?
Alan, if you know, that drive fails ide_id_has_flush_cache()?
Note, very aware I don't know what the fuck I'm doing here (and equally
aware I don't _want_ to be here :-) Having the drive spin down on each
reboot is totally unacceptable though. Not only does spinning up again
take significant time and noise, it's also actively bad for the drive.
If there's no sane way to fix this, an explicit blacklist for drives
that really need to be shutdown? Eew.
Rene.
next prev parent reply other threads:[~2004-05-16 21:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-13 19:16 [RFT][PATCH] ide-disk.c: more write cache fixes Bartlomiej Zolnierkiewicz
2004-05-13 23:28 ` Rene Herman
2004-05-14 0:14 ` Bartlomiej Zolnierkiewicz
2004-05-14 11:58 ` Rene Herman
2004-05-16 19:58 ` Alan Cox
2004-05-16 20:20 ` Bartlomiej Zolnierkiewicz
2004-05-16 21:15 ` Rene Herman [this message]
2004-05-16 21:30 ` Bartlomiej Zolnierkiewicz
2004-05-16 22:13 ` Rene Herman
2004-05-17 16:52 ` Alan Cox
2004-05-17 16:49 ` Alan Cox
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=40A7D9E6.1090900@keyaccess.nl \
--to=rene.herman@keyaccess.nl \
--cc=B.Zolnierkiewicz@elka.pw.edu.pl \
--cc=akpm@osdl.org \
--cc=alan@redhat.com \
--cc=axboe@suse.de \
--cc=edmudama@mail.bounceswoosh.org \
--cc=linux-ide@vger.kernel.org \
--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