On Tue, 29 Oct 2013 11:21:15 +0900 Hitoshi Mitake <mitake.hitoshi@xxxxxxxxxxxxx> wrote: > If two or more tgtds are launched with same control port (a number > specified with -C option), tgtadm cannot communicate with tgtds > because the latest tgtd cominates the socket. This behavior is > confusing. > > This patch lets tgtd lock the socket with lockf(3). With this change, > tgtd will exits when the socket of its control port is already locked. > > Signed-off-by: Hitoshi Mitake <mitake.hitoshi@xxxxxxxxxxxxx> > --- > usr/mgmt.c | 36 +++++++++++++++++++++++++++++------- > usr/tgtd.c | 6 +++--- > 2 files changed, 32 insertions(+), 10 deletions(-) Make sense. Applied. -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html