[stgt] [PATCH] iscsi: add 'portal' boot option

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Wed Oct 21 00:50:29 CEST 2009


On Mon, 19 Oct 2009 13:25:35 +0900
FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp> wrote:

> It's a bit hacky but it should work.
> 
> =
> From: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
> Date: Sun, 18 Oct 2009 17:27:10 +0900
> Subject: [PATCH] iscsi: add 'portal' boot option
> 
> This patch enables you to specify the portal address and port:
> 
> tgtd --iscsi portal=192.168.18.3:3261
> 
> If you want to specify only the address:
> 
> tgtd --iscsi portal=192.168.18.3
> 
> Signed-off-by: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
> ---
>  usr/iscsi/iscsi_rdma.c |    2 +-
>  usr/iscsi/iscsi_tcp.c  |    4 ++--
>  usr/iscsi/iscsid.c     |   39 ++++++++++++++++++++++++++++++++++++++-
>  usr/iscsi/iscsid.h     |    3 +++
>  usr/iscsi/isns.c       |    2 +-
>  5 files changed, 45 insertions(+), 5 deletions(-)

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



More information about the stgt mailing list