Nicholas A. Bellinger, on 04/13/2010 10:37 PM wrote:
On Tue, 2010-04-13 at 21:09 +0400, Vladislav Bolkhovitin wrote:
LIO doesn't support 1 to many pass-through devices sharing, so SCST in
the only option.
Sorry, but this statement about your perceived limitiations wrt TCM/LIO
is completely incorrect.
Using a single passthrough backstore device (eg: plain /dev/sdX) with
TCM/pSCSI (or any TCM subsystem plugin) has been supported since the
dawn of time to allow for any number of TCM_Loop Virtual SAS Ports with
SG_IO going into KVM Guest. The same is also true for LIO-Target
(iSCSI) and TCM_FC (FCoE) ports as well regardless of TCM subsystem
backstore.
Perhaps you would be so kind to provide a TCM/LIO source code reference
from where you came up with this make-believe notion..?
I've just rechecked with the latest
git://git.kernel.org/pub/scm/linux/kernel/git/nab/lio-core-2.6.git and
still wasn't able to find in LIO required pieces of functionality to
support 1 to many pass-through. I see only code for non-enforced 1 to 1
pass-through (single initiator only). You can use with it more
initiators only as the SCSI violation, from pointing on which I started
my participation in this discussion.
Particularly, I can't see the code, which in pass-through mode upon
receive of RESERVE command sends it also to the backend device, if
necessary (i.e. only the first time), and then sends RELEASE command to
the device upon the reservation holder removal. Could you point me on
the *exact* code which implements that?
Vlad
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html