* How do I get scst_vdisk/IB_SRP(T) to properly handle drives w/ 4KB sectors?
@ 2010-06-22 16:06 Chris Worley
[not found] ` <AANLkTin2bONNlTF8mseOt3-pPcFF523-6EWHFD2XBOPg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Chris Worley @ 2010-06-22 16:06 UTC (permalink / raw)
To: scst-devel, OFED mailing list
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?
Thanks,
Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How do I get scst_vdisk/IB_SRP(T) to properly handle drives w/ 4KB sectors?
[not found] ` <AANLkTin2bONNlTF8mseOt3-pPcFF523-6EWHFD2XBOPg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2010-06-23 17:08 ` Vladislav Bolkhovitin
[not found] ` <4C223FA3.3090300-d+Crzxg7Rs0@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Vladislav Bolkhovitin @ 2010-06-23 17:08 UTC (permalink / raw)
To: Chris Worley; +Cc: scst-devel, OFED mailing list
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.
Vlad
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How do I get scst_vdisk/IB_SRP(T) to properly handle drives w/ 4KB sectors?
[not found] ` <4C223FA3.3090300-d+Crzxg7Rs0@public.gmane.org>
@ 2010-06-23 17:32 ` Chris Worley
0 siblings, 0 replies; 3+ messages in thread
From: Chris Worley @ 2010-06-23 17:32 UTC (permalink / raw)
To: Vladislav Bolkhovitin; +Cc: scst-devel, OFED mailing list
On Wed, Jun 23, 2010 at 11:08 AM, Vladislav Bolkhovitin <vst-d+Crzxg7Rs0@public.gmane.org> 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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-06-23 17:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-22 16:06 How do I get scst_vdisk/IB_SRP(T) to properly handle drives w/ 4KB sectors? Chris Worley
[not found] ` <AANLkTin2bONNlTF8mseOt3-pPcFF523-6EWHFD2XBOPg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-06-23 17:08 ` Vladislav Bolkhovitin
[not found] ` <4C223FA3.3090300-d+Crzxg7Rs0@public.gmane.org>
2010-06-23 17:32 ` Chris Worley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox