summaryrefslogtreecommitdiffstats
path: root/contrib/diff/src
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-04-08 20:50:48 +0000
committermav <mav@FreeBSD.org>2014-04-08 20:50:48 +0000
commit9e77bb67b8e86fb9888203c0f6f5c7657a7eeb98 (patch)
tree95a3cc931da8a5065180b81740f088c57be28b04 /contrib/diff/src
parentefe0f3c8dbe131cdb9f8adc9a2e7fd16cf6c69f3 (diff)
downloadFreeBSD-src-9e77bb67b8e86fb9888203c0f6f5c7657a7eeb98.zip
FreeBSD-src-9e77bb67b8e86fb9888203c0f6f5c7657a7eeb98.tar.gz
Add support for SCSI UNMAP commands to CTL.
This patch adds support for three new SCSI commands: UNMAP, WRITE SAME(10) and WRITE SAME(16). WRITE SAME commands support both normal write mode and UNMAP flag. To properly report UNMAP capabilities this patch also adds support for reporting two new VPD pages: Block limits and Logical Block Provisioning. UNMAP support can be enabled per-LUN by adding "-o unmap=on" to `ctladm create` command line or "option unmap on" to lun sections of /etc/ctl.conf. At this moment UNMAP supported for ramdisks and device-backed block LUNs. It was tested to work great with ZFS ZVOLs. For file-backed LUNs UNMAP support is unfortunately missing due to absence of respective VFS KPI. Reviewed by: ken MFC after: 1 month Sponsored by: iXsystems, Inc
Diffstat (limited to 'contrib/diff/src')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud