Project

General

Profile

Actions

Bug #11608

closed

add DKIOC ioctl to report drive UNMAP support

Added by Jerry Jelinek over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

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.

Actions

Also available in: Atom PDF