Re: [RFC] iscsi-target: Return error if unable to add network portal

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

 



On 12/11/2016 05:35 PM, Varun Prakash wrote:
> If iscsit_tpg_add_network_portal() fails then
> return error code instead of 0 to user space.
> 
> If iscsi-target returns 0 then user space keeps
> on retrying same command infinitely, targetcli or
> echo hangs till command completes with non zero
> return value. In some cases it is possible that
> add network portal command never completes with
> success even after retrying multiple times,
> for example - cxgbit_setup_np() always returns
> -EINVAL if portal IP does not belong to Chelsio
> adapter interface.

Hello Varun,

This patch looks fine to me. Since you posted it as an RFC does this
mean that you are not completely confident that this patch is right?

Bart.
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux