Thread (2 messages) 2 messages, 2 authors, 2013-10-25

Re: Enable SCTERC in the kernel?

From: Dag Nygren <hidden>
Date: 2013-10-25 11:10:02

On Friday 25 October 2013 06:47:31 Martin K. Petersen wrote:
quoted
quoted
quoted
quoted
quoted
"Dag" == Dag Nygren [off-list ref] writes:
Dag> - What if the md module automatically set this during assembly
Dag> of the RAID?

There are a couple of challenges here. libata lives under SCSI and there
is no official translation between SCTERC for ATA to the SCSI Read Write
Error Recovery mode page. But I can work around that.

A harder issue is to ensure that we don't cause regressions by
requesting the SRWER mode from devices that blow up when they receive an
unexpected SCSI command (yes, USB device vendors, I'm looking at you).

Anyway. I agree that this might be worthwhile. I'll put it on my list...
Appreciate that! Would have saved me a lot of work - And I thought I
knew what to do ;-)

Anyway Neil had the opinion that mdadm could do it outside the kernel
and he might be right there. As long as there is no other way to
assemble tha raid but use mdadm.

I do have smoe programming experience myself and could take a look at mdadm
but would probably need some guidance. For example would is be OK to
use an exec(smartctl...) which would make it a very easy programming
exercise or do we then create an unwanted dependency on smartctl.

Best
Dag
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help