From ac8ca67a88bdb8be08456785116a8824fba735df Mon Sep 17 00:00:00 2001 From: Etienne Dechamps Date: Sat, 1 Sep 2012 15:02:25 +0200 Subject: [PATCH] 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 --- include/sys/dkio.h | 1 + 1 file changed, 1 insertion(+) 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 */