On Tue, 8 Oct 2013 17:39:21 +0900 Hitoshi Mitake <mitake.hitoshi@xxxxxxxxxxxxx> wrote: > Current bs_sheepdog.c only supports connections to sheep process which > listen on localhost:7000 (tcp). This patch makes the address, port, > and protocol specifiable via --backing-store option of tgtadm. In > addition, snapshots of VDIs can be logical units when tag or snapshot > ID is passed to the option. > > The form of --backing-store option: > - unix:<path_of_unix_domain_socket>:<vdi> > - unix:<path_of_unix_domain_socket>:<vdi>:<tag> > - unix:<path_of_unix_domain_socket>:<vdi>:<snapid> > - tcp:<host>:<port>:<vdi> > - tcp:<host>:<port>:<vdi>:<tag> > - tcp:<host>:<port>:<vdi>:<snapid> > - tcp:<port>:<vdi> > - tcp:<port>:<vdi>:<tag> > - tcp:<port>:<vdi>:<snapid> > > Example of the option: -b unix:/sheep_store/sock:tgt0:1 > (connect via unix domain socket, the path of socket is > /sheep_store/sock, VDI name is tgt0, use snapshot of ID 1) > > Signed-off-by: Hitoshi Mitake <mitake.hitoshi@xxxxxxxxxxxxx> > --- > usr/bs_sheepdog.c | 214 +++++++++++++++++++++++++++++++++++++++++++++++++---- > 1 file changed, 199 insertions(+), 15 deletions(-) Applied, thanks. -- 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