[stgt] [PATCH v2] handle SEM Key clash between multiple tgt instances

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Sun Mar 27 11:02:13 CEST 2011


On Sun, 27 Mar 2011 10:06:57 +0200
Or Gerlitz <ogerlitz at mellanox.com> wrote:

> commit e2f95b537 "semaphore key clash with Open-iSCSI initiator" didn't
> address a further clash introduced when multiple tgt instances are
> running. Address that by creating the IPC semaphore keyid based on
> the management socket file using ftok(3). Renamed the variable name for
> the array that holds the management socket path on both mgmt.c & tgtadm.c
> 
> Signed-off-by: Roland Friedwagner <roland.friedwagner at wu.ac.at>
> Signed-off-by: Or Gerlitz <ogerlitz at mellanox.com>

Applied, thanks!
--
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