1701 ZFS to support UNMAP/TRIM for SSD

Review Request #2278 - Created Sept. 3, 2019 and submitted

Information
Jerry Jelinek
illumos-gate
1701
Reviewers
general

Port from ZoL of TRIM support. Some notable changes from the port:
usr/src/test/zfs-tests/cmd/has_unmap/has_unmap.c
I wrote this and hooked in to new trim test setup scripts
usr/src/uts/common/fs/zfs/sys/vdev_impl.h
added vdev_autotrim_bytes_done for use in test validation
usr/src/test/zfs-tests/tests/functional/trim/trim.kshlib
added get_illumos_trim_io() to validate autotrim progress
usr/src/uts/common/fs/zfs/vdev_disk.c
vdev_disk_open() changed to use DKIOC_CANFREE
vdev_disk_io_start() cahnged for ZIO_TYPE_TRIM case to use DKIOCFREE

zfs-test run including new trim tests

Issues

  • 0
  • 8
  • 0
  • 8
Description From Last Updated
C Fraire
Kody Kantor
Kody Kantor
C Fraire
Jerry Jelinek
Review request changed

Status: Closed (submitted)

Loading...