From: Etienne Dechamps Date: Sat, 1 Sep 2012 13:02:25 +0000 (+0200) Subject: Add DKIOCTRIM for TRIM support. X-Git-Tag: spl-0.6.0-rc11~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ac8ca67a88bdb8be08456785116a8824fba735df;p=spl 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 Closes #167 --- diff --git a/include/sys/dkio.h b/include/sys/dkio.h index 0659e90..591fbf5 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 */