linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* hdparm write cache settings
@ 2004-10-15 19:48 Doug Maxey
  2004-10-19 21:47 ` Mark Lord
  0 siblings, 1 reply; 3+ messages in thread
From: Doug Maxey @ 2004-10-15 19:48 UTC (permalink / raw)
  To: Mark Lord; +Cc: Linux IDE Mailing List


Mark,

I have been tweaking the idedisk_setup() and write_cache() to handle
drives with write cache disabled by default and the barrier settings on
changes between WC enabled and disabled.

Bart has pointed out in offline mail, and testing has confirmed, that 
HDIO_DRIVE_CMD is used, which bypasses the settings parameter lookup 
in generic_ide_ioctl() of the drive settings enabled in ide_add_settings().  

Is it reasonable that a change could be made to enable the use of
HDIO_SET_WCACHE in hdparm?

Or should I be looking to intercept the call and do The Right Thing
(TM:) in the ide driver?


++doug





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-21 16:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-15 19:48 hdparm write cache settings Doug Maxey
2004-10-19 21:47 ` Mark Lord
2004-10-21 16:54   ` Doug Maxey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).