Re: Spinup of SCSI Disks: allow_restart won't work on 2.6.18

Brian King
2006-11-21T14:41:36Z

Douglas Gilbert wrote:
> Stefan Richter wrote:
>> I think the solution is easy: Replace if (sdp->type != TYPE_DISK) by
>>
>> if (sdp->type != TYPE_DISK && sdp->type != TYPE_RBC)
>
> ... but why have the condition at all? What other peripheral
> device type should the _sd_ driver be handling??

Currently, sd attaches TYPE_DISK, TYPE_RBC, and TYPE_MOD devices. I
don't have a problem with removing the check and letting userspace
do what they want to do.

Brian

--
Brian King
eServer Storage I/O
IBM Linux Technology Center