Re: [LSF/VM TOPIC] Handling of invalid requests in virtual HBAs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux