]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r268767:
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 30 Jul 2014 07:18:32 +0000 (07:18 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 30 Jul 2014 07:18:32 +0000 (07:18 +0000)
commitd3bca22f313a863e12846c5a457bb630793ffed7
treeeec0d458347df7afe5760e6c44a8137c0ff8c3fe
parent1a1c673c1d58a9b142d9d57126955c9e8e4591f3
MFC r268767:
Add support for VMWare dialect of EXTENDED COPY command, aka VAAI Clone.

This allows to clone VMs and move them between LUNs inside one storage
host without generating extra network traffic to the initiator and back,
and without being limited by network bandwidth.

LUNs participating in copy operation should have UNIQUE NAA or EUI IDs set.
For LUNs without these IDs VMWare will use traditional copy operations.

Beware: the above LUN IDs explicitly set to values non-unique from the VM
cluster point of view may cause data corruption if wrong LUN is addressed!

Sponsored by: iXsystems, Inc.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269296 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
15 files changed:
sys/cam/ctl/ctl.c
sys/cam/ctl/ctl_cmd_table.c
sys/cam/ctl/ctl_frontend.c
sys/cam/ctl/ctl_frontend.h
sys/cam/ctl/ctl_frontend_iscsi.c
sys/cam/ctl/ctl_private.h
sys/cam/ctl/ctl_ser_table.c
sys/cam/ctl/ctl_tpc.c [new file with mode: 0644]
sys/cam/ctl/ctl_tpc.h [new file with mode: 0644]
sys/cam/ctl/ctl_tpc_local.c [new file with mode: 0644]
sys/cam/ctl/scsi_ctl.c
sys/cam/scsi/scsi_all.h
sys/conf/files
sys/modules/ctl/Makefile
usr.sbin/ctladm/ctladm.8