On Wed, Jun 23, 2010 at 11:08 AM, Vladislav Bolkhovitin <[email protected]> wrote:
> Chris Worley, on 06/22/2010 08:06 PM wrote:
>>
>> When given an LBA w/ a bad boundary, the drive returns an error and
>> the target side says:
>>
>> dev_vdisk: ***ERROR***: cmd ffff810196f58b70 returned error -22
>>
>> ... and the initiator:
>>
>> sd 8:0:0:0: SCSI error: return code = 0x08000002
>> sdc: Current: sense key: Medium Error
>>    Add. Sense: Unrecovered read error
>>
>> Is there a way to tell scst that this drive requires 4KB block sizes,
>> and pass that upstream?
>
> I'm not sure what you mean here under "tell" and "pass upstream". Generally,
> such problems are outside of SCST scope and responsibilities. With vdisk
> kernel I/O stack should make sure you use correct alignment accessing your
> backend drive and you can always choose your own >512b block size for all
> vdisk devices.

DOH!

Thanks,

Chris
>
> Vlad
>
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to