Re: PATCH: Fixes for ide-disk.c

John Bradford (root@81-2-122-30.bradfords.org.uk)
Sat, 5 Apr 2003 10:27:55 +0100 (BST)


> People using swsusp under 2.4 found that everything worked
> fine if they rebooted after writing the image, but powering down at the
> end of writing the image caused corruption. I got the additional check
> from the source for hdparm, which only does the new check to determine
> if a drive has a writeback cache.

Did we ever establish what the best way to ensure that the write cache is
flushed, is? An explicit cache flush and spin down are both necessary, but
I had problems with drives spinning back up when we did the spindown first.

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