To Bart ,
Thanks for the support in solving queries and providing the nice visualization of the code , Now I have one more query please try to visualize .
I have machine L3 that have target devices (i.e D_1 , D_2 and D_3 ) , there is in another machine L2 in which I have SCST Interface plus open-iscsi(Software Initiator) Interfaces both are present and third machine L1 have only open-iscsi Interface . Form L2 Initiator I discover the target devices present in L3 . Now the Target devices are remotely attached the description of target devices (that I got from Initiator of L2 ) is updated in the config file of SCST using the block_io Device Handler . When L1 Initiator discover it get information of the D_1, D_2 and D_3 respectively .Suppose a read request comes to L2-SCST from L1 for D_2 Device .
Problem start here the device D_2 is present in remote machine itself ,When the processing of cmd start and goes to (Device Handler for block_io) How it is made to respond initiator of L2 to do the further processing and perform as the device handler wants .
Whether this type of implementation can be possible (As in SCST official page it is written that SCST assumes local target devices also as a remote one) . In present scenario whether without doing any change the SCST can respond to the L1-Initiator or not , I have to make my own changes . As per to me Device Handler can execute cmd processing for the target devices on same machine .
L1 -- Initiator (open-iscsi) // Got the target Devices during discover D_1, D_2 , D_3
L2 -- Target Driver
SCST // updated in the config file of SCST about the target devices
Device Handler
Initiator(open-iscsi) //visible her in discovery D_1, D_2, D_3
L3------ SCST processing units
Target Devices (D_1,D_2, D_3)
In normal case whether L1 can interact with L3 through L2 interface . Hope you can visualize
Thanks & Best Regards
Anshul Kundra
________________________________
::DISCLAIMER::
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------
|