Tejun Heo wrote:
> Simon Farnsworth wrote:
>> Just a thought; is it possible to trigger libata EH from userspace? If
>> so, we could write a small utility to disable write cache, then force EH
>> to detect the change.
>
> That's automatically done. libata snoops cache on/off and triggers
> revalidation but you can request manual rescan by echoing "- - -" to
> /sys/class/scsi_host/hostX/scan.
>
Would it be worth changing our code to do "hdparm -W1 /dev/sda && hdparm
-W0 /dev/sda", or would this not show anything. The lack of revalidation
on some drives is what's worrying me a little here.
--
Simon Farnsworth
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html