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 3 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit efe44a0312f417787c2d6992582ad06b1b98cd8d Author: Jerry Jelinek <firstname.lastname@example.org> Date: 2019-08-27T13:58:24.000Z 11608 add DKIOC ioctl to report drive UNMAP support Reviewed by: Igor Kozhukhov <email@example.com> Reviewed by: Toomas Soome <firstname.lastname@example.org> Reviewed by: Kody Kantor <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>