Re: [PATCH 0/14] target/iscsi: start and stop NP listeners on demand

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

 



Hi David,

On Tue, 2015-07-21 at 15:32 +0200, David Disseldorp wrote:
> Currently iSCSI network portal listener kthreads are spawned regardless
> of whether a TPG is disabled or enabled. LIO also accepts connections
> and handles requests (E.g. SendTargets) via disabled TPGs.
> 

The problem with creating iscsi_np listeners on the fly at TPG enable
time, is that TPG enable failure now means user-space is responsible for
figuring out which of the associated iscsi_np listeners may have failed
to start, and what subsequent action to take.

This makes user-space code more complex.

> This patch-set ensures that network portal listener kthreads are only
> spawned when a TPG is enabled.
> 

That said, is there a reason why this type of patch is required for your
active/active export use-case and can't be achieved without this type of
on-demand iscsi_np listener creation..?

--nab

--
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