Skip to contentSkip to conversation

PATCH: Fixes for ide-disk.c

DISCUSSION Chuck Ebbert 2 participants 2 messages Apr 5, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines · John Bradford

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.

Disks that don't support flush should be sent an IDLE command, IIRC.

--
Chuck
I am not a number!

#1 lore raw

If the drive is compliant it will issue an abort if not supported. Otherwise one should check the identify page; however, there are several cases where the bits are improperly set. Another double edge sword to make the driver more interesting.

Cheers,

Quoted 15 lines · Chuck Ebbert
Quoted 5 lines · John Bradford

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.

Disks that don't support flush should be sent an IDLE command, IIRC.

Quoted 9 lines

--
Chuck
I am not a number!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Andre Hedrick
LAD Storage Consulting Group