Re: 2.6.17-mm5 dislikes raid-1, just like mm4

Grant Wilson
2006-07-02T14:29:06Z

James Bottomley wrote:
> On Sun, 2006-07-02 at 17:13 +1200, Reuben Farrelly wrote:
>> Just for kicks, after testing those two trees (see previous email) I
>> took my
>> 2.6.17-mm5 without git-scsi-misc and then patched git-scsi-misc.patch
>> back in,
>> rebuilt and rebooted and noted that RAID broke again. Reverted the
>> patch and it
>> all worked.
>>
>> So I can conclude that definitely and reproduceably that's the
>> one.........
>
> OK, I have a theory. I think
>
> [SCSI] sd/scsi_lib simplify sd_rw_intr and scsi_io_completion
>
> Failed to take into account completion of zero length commands (which is
> what a flush is). Could you try the whole of -mm with this patch?
>
> Thanks,
>
> James
>
[patch snipped]

With the patch applied to 2.6.17-mm5 my RAID-1 is up and running on both
SATA drives with no problems.

Thanks,
Grant