diff options
author | Etienne Dechamps <[email protected]> | 2012-09-01 15:02:25 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-09-02 14:22:01 -0700 |
commit | ac8ca67a88bdb8be08456785116a8824fba735df (patch) | |
tree | 1f948e425357181120311c7bf01a587998db5ccb /include | |
parent | 46b3945d5da42fe8bf3c9ff8e28dbb8cb88095b9 (diff) |
Add DKIOCTRIM for TRIM support.
See dechamps/zfs@cc6cd40ad71e1e611591929ad08184516357eaf5 for details.
This harmless addition was merged to simplify testing the ZFS TRIM
support patches.
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #167
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/dkio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/dkio.h b/include/sys/dkio.h index 0659e9082..591fbf51d 100644 --- a/include/sys/dkio.h +++ b/include/sys/dkio.h @@ -33,5 +33,6 @@ struct dk_callback { #define DKIOC (0x04 << 8) #define DKIOCFLUSHWRITECACHE (DKIOC | 34) +#define DKIOCTRIM (DKIOC | 35) #endif /* _SPL_DKIO_H */ |