[Stgt-devel] [PATCH] allow other target types than iscsi in tgt-admin
FUJITA Tomonori
fujita.tomonori
Tue Jul 29 08:35:09 CEST 2008
On Mon, 28 Jul 2008 15:50:47 +0200
Tomasz Chmielewski <mangoo at wpkg.org> wrote:
> tgtadm allows other target types than iscsi (i.e., fcoe or ibmvstgt).
>
> tgt-admin (or whatever it will be called in the future, so that it doesn't confuse with tgtadm) should support other target types ("driver"), too.
>
> With this patch, we can configure a per-target driver, or, we can use a default value for all targets (used by all targets; unless overridden).
> When there is no driver definition, tgt-admin defaults to "iscsi".
>
>
> Example configuration:
>
>
> # defaults for all targets
> default-driver iscsi
>
> <target iqn.2006-08.com.example:blah.fcoe>
> # will use fcoe
> driver fcoe
> ...
> </target>
>
> <target iqn.2007-11.com.example:blah.iscsi>
> # will default to iscsi
> ...
> </target>
>
>
> Also, I added a simple "check" subroutine which checks some simple errors in the config file (missing values etc.).
>
>
> Patch follows:
>
> Signed-off-by: Tomasz Chmielewski <mangoo at wpkg.org>
Applied, thanks!
More information about the stgt
mailing list