add DKIOC ioctl to report drive UNMAP support
We added SCSI UNMAP support with bug 1700, but there is currently no way for upstack code to detect if a drive supports UNMAP. Having this capability would be useful for the ZoL port of the ZFS TRIM code (bug 6363). I'm going to implement a new DKIOC ioctl which would report the SD_THIN_PROV_ENABLED status from un_thin_flags.
Updated by Electric Monk over 1 year ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit efe44a0312f417787c2d6992582ad06b1b98cd8d Author: Jerry Jelinek <email@example.com> Date: 2019-08-27T13:58:24.000Z 11608 add DKIOC ioctl to report drive UNMAP support Reviewed by: Igor Kozhukhov <firstname.lastname@example.org> Reviewed by: Toomas Soome <email@example.com> Reviewed by: Kody Kantor <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>