* Understanding SAS
@ 2009-03-24 12:34 Madhukar G
[not found] ` <FE3F06125A99254E8D92161AA4569C6F06A98B5F@sc-exch02.marvell.com>
0 siblings, 1 reply; 7+ messages in thread
From: Madhukar G @ 2009-03-24 12:34 UTC (permalink / raw)
To: linux-scsi
Hi All,
I'm new to SAS architecture. I have sas1r10.pdf with me for
understanding the protocol. I'm looking at the sources available at
scsi/libsas.
I was looking at task management function sequence and non-data
command sequence for SSP frames in the specification. But i could not
map the same in source code. Can some help me understand in which
functions these sequences of SSP frames are handled.
Any help is much appreciated.
Thank You.
Regards,
Madhukar
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Understanding SAS
[not found] ` <FE3F06125A99254E8D92161AA4569C6F06A98B5F@sc-exch02.marvell.com>
@ 2009-03-26 4:40 ` Madhukar G
0 siblings, 0 replies; 7+ messages in thread
From: Madhukar G @ 2009-03-26 4:40 UTC (permalink / raw)
To: Ying Chu; +Cc: linux-scsi
Thanks for the info. Where can i download the mvsas patch. Currently
i'm using 2.6.28 kernel.
Regards,
Madhukar
2009/3/26 Ying Chu <jasonchu@marvell.com>:
> You can consult the new mvsas patch set pending to kernel.
>
>
> -----Original Message-----
> From: linux-scsi-owner@vger.kernel.org [mailto:linux-scsi-owner@vger.kernel.org] On Behalf Of Madhukar G
> Sent: 2009年3月24日 20:35
> To: linux-scsi@vger.kernel.org
> Subject: Understanding SAS
>
> Hi All,
>
> I'm new to SAS architecture. I have sas1r10.pdf with me for understanding the protocol. I'm looking at the sources available at scsi/libsas.
>
> I was looking at task management function sequence and non-data command sequence for SSP frames in the specification. But i could not map the same in source code. Can some help me understand in which functions these sequences of SSP frames are handled.
>
> Any help is much appreciated.
>
> Thank You.
>
> Regards,
> Madhukar
> --
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Understanding SAS
@ 2009-07-31 11:56 Madhukar G
2009-07-31 14:26 ` James Bottomley
0 siblings, 1 reply; 7+ messages in thread
From: Madhukar G @ 2009-07-31 11:56 UTC (permalink / raw)
To: linux-scsi
Hi All,
I'm understanding SAS architecture for adaptec controller. I'm using
the source adp94xx for the same. I was able to understand all the
infomation unit flow but i'm stuck with one problem. I was not able to
trace when task management IU shall be invoked.
Do i need any special app to test task management IU?
Is SCSI layer responsible for invoking task management IU?
Thanks.
madhukar
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Understanding SAS
2009-07-31 11:56 Understanding SAS Madhukar G
@ 2009-07-31 14:26 ` James Bottomley
2009-07-31 18:30 ` Madhukar G
[not found] ` <200908010930500463303@usish.com>
0 siblings, 2 replies; 7+ messages in thread
From: James Bottomley @ 2009-07-31 14:26 UTC (permalink / raw)
To: Madhukar G; +Cc: linux-scsi
On Fri, 2009-07-31 at 17:26 +0530, Madhukar G wrote:
> I'm understanding SAS architecture for adaptec controller. I'm using
> the source adp94xx for the same. I was able to understand all the
> infomation unit flow but i'm stuck with one problem. I was not able to
> trace when task management IU shall be invoked.
> Do i need any special app to test task management IU?
> Is SCSI layer responsible for invoking task management IU?
I don't understand what you mean by IU: SAS tends to think in terms of
frames (at the transport layer). Information Units as used by the SAS
protocol means specific SSP frames. Task Management in SAS has to
include SMP, STP and SATA as well.
However, SAM task management functions all map to the callbacks in
struct sas_domain_function_template which are called by libsas. These
callbacks are also used for all other frame error handling.
James
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Understanding SAS
2009-07-31 14:26 ` James Bottomley
@ 2009-07-31 18:30 ` Madhukar G
[not found] ` <200908010930500463303@usish.com>
1 sibling, 0 replies; 7+ messages in thread
From: Madhukar G @ 2009-07-31 18:30 UTC (permalink / raw)
To: James Bottomley; +Cc: linux-scsi
> However, SAM task management functions all map to the callbacks in
> struct sas_domain_function_template which are called by libsas. These
> callbacks are also used for all other frame error handling.
>
I understand the callbacks used for error handling. For which types of
errors these callbacks invoked? When do these error occur? Which layer
is responsible for invoking these callback.. Is it SCSI layer/ File
System or Application Client?
Pardon me if these questions sounds silly. but i'm in process of
understading the sequence.
I tried copying data to and from SAS controller and aborted in
between. But i donot see any error handlers being invoked.
Thanks and Regards,
madhukar
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: Understanding SAS
[not found] ` <200908010930500463303@usish.com>
@ 2009-08-01 5:38 ` Madhukar G
2009-08-04 6:28 ` Madhukar G
0 siblings, 1 reply; 7+ messages in thread
From: Madhukar G @ 2009-08-01 5:38 UTC (permalink / raw)
To: Wang Jinpu; +Cc: James Bottomley, linux-scsi
> If you look into the libsas source you will find that lldd_abort_task will
> be
> called when task flag is set to SAS_TASK_STATE_ABORTED ,that means the
> task is timeout by sas layer, then sas layer will abort it. other other case
> are
> during error recovery, when scsi ml scsi_error_handler is scheduled to run.
>
Thank you for the reply. Is there any way i can test this sequence. I
would like to explicitly set SAS_TASK_STATE_ABORTED and further
invoking error handlers.
Thanks and Regards,
madhukar
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: Understanding SAS
2009-08-01 5:38 ` Madhukar G
@ 2009-08-04 6:28 ` Madhukar G
0 siblings, 0 replies; 7+ messages in thread
From: Madhukar G @ 2009-08-04 6:28 UTC (permalink / raw)
To: Wang Jinpu; +Cc: James Bottomley, linux-scsi
> Thank you for the reply. Is there any way i can test this sequence. I
> would like to explicitly set SAS_TASK_STATE_ABORTED and further
> invoking error handlers.
>
Does this mean that i do not require any application to invoke error
handlers (task frames / task IU).
Thanks.
madhukar
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-08-04 6:28 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-31 11:56 Understanding SAS Madhukar G
2009-07-31 14:26 ` James Bottomley
2009-07-31 18:30 ` Madhukar G
[not found] ` <200908010930500463303@usish.com>
2009-08-01 5:38 ` Madhukar G
2009-08-04 6:28 ` Madhukar G
-- strict thread matches above, loose matches on Subject: below --
2009-03-24 12:34 Madhukar G
[not found] ` <FE3F06125A99254E8D92161AA4569C6F06A98B5F@sc-exch02.marvell.com>
2009-03-26 4:40 ` Madhukar G
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox