Re: [PATCH-v2 00/14] iscsi-target: iSCSI target v4.1.0-rc1 series initial merge

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

 



On Wed, 23 Mar 2011 14:37:34 -0700
"Nicholas A. Bellinger" <nab@xxxxxxxxxxxxxxx> wrote:

> > Removing several thousand lines from kernel isn't benefit?
> > 
> > 
> 
> No, not when it adds complexity without benefit for the default case and
> introduces unnecessary userspace C code.
> 
> At this point in lio-utils.git for target v4 code, we require zero C
> userspace code for the default operation of iscsi-target, and I want to
> keep it this way.  

Hmm, you prefer 'zero C userspace code'? On the other hand, you insist
that requiring user Python userspace code to set up ibmvscsis is a
better approach even when the kernel space can set up everything for
ibmvscsis?

I can't understand your logic.

And iSCSI setup usually needs userspace code such as iSNS
anyway. You'll add iSNS to kernel too.


> Maintaining backwards compatibility with interpreted script code for the
> fabric control plane makes life so much eaiser than any kernel <-> user
> C API that I have ever encountered.

I think that the target can use open-iscsi's kernel <-> user
interface. All the userspace code needs is passing negotiated iSCSI
parameters. Once a nexus establishes, the user space will never do
anything for it. So no complicity like open-iscsi.


> > In other words, what the approach to do the pre-nexus operations like
> > IET (or SCST) can't do?
> 
> Because it does not makes sense for the default case, and adds
> unnecessary complexity to the iscsi-target login process.

Well, I don't think so.


> Using mainline libcrypto for CHAP works as expected and allows us to
> provide one-way and mutual authentication for iSCSI discovery and
> explict initiator NodeACLs via configfs attributes without any userspace
> C dependcies.

The user space daemon can read configfs easily to do the same thing.
--
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