[stgt] [PATCH RFC] support multiple target instances
ronnie sahlberg
ronniesahlberg at gmail.com
Wed Feb 24 04:29:18 CET 2010
Trying again, if it gets through the spamfilter this time...
List,
The part of the patch where we control the management channel seems to
have been lost/forgotten.
Please find a patch attached that contains an updated version Or's
patch for specifying the management channel
to allow us to run multiple instances of tgtd concurrently.
This can be useful in testing since on very powerful machines, the
single thread for the eventloop reaches 100% of one core, this caps
performance.
It also adds documentation for this new argument for tgtd and tgtadm.
On Fri, Sep 25, 2009 at 6:03 PM, ronnie sahlberg
<ronniesahlberg at gmail.com> wrote:
> On Fri, Sep 25, 2009 at 4:24 PM, FUJITA Tomonori
> <fujita.tomonori at lab.ntt.co.jp> wrote:
>> On Fri, 25 Sep 2009 11:07:23 +1000
>> ronnie sahlberg <ronniesahlberg at gmail.com> wrote:
>>
>>> On Fri, Sep 25, 2009 at 10:09 AM, FUJITA Tomonori
>>> <fujita.tomonori at lab.ntt.co.jp> wrote:
>>> > On Thu, 24 Sep 2009 18:07:24 +0300
>>> > Or Gerlitz <ogerlitz at Voltaire.com> wrote:
>>> >
>>> >> FUJITA Tomonori wrote:
>>> >> > I know that but it doesn't sound good to me. How can you handle isns_port?
>>> >> > tgtd --port=3260 --iscsi=isns-port=1000
>>> >> > tgtd --iscsi=iscsi-port=3260,isns-port=1000
>>> >> > The latter looks more consistent to me.
>>> >>
>>> >> I am fine with both approaches
>>> >
>>> > Everyone, other opinions?
>>> >
>>>
>>> I think it would make more sense to separate the port specified for
>>> the mgmt channel from the iscsi related ports.
>>> since it may be desireable to also run multiple instances of tgtd for
>>> fcoe as well and then --iscsi-port would not make sense.
>>
>> Yeah, agreed. I don't fancy '--port' much though. It's a bit too
>> generic. I prefer something like '--mport' (or '--manage-port').
>
> Maybe use --socket
> That is what I use in ctdb/ctdbd to override the default domain socket
> to use to send mgmt commands to the daemon.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Based-on-Or-Gerlitz-patch-from.patch.gz
Type: application/x-gzip
Size: 5033 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/stgt/attachments/20100224/4c1a2330/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Based-on-Or-Gerlitz-patch-from.patch
Type: text/x-diff
Size: 21715 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/stgt/attachments/20100224/4c1a2330/attachment-0001.patch>
More information about the stgt
mailing list