Add DKIOCTRIM for TRIM support.

See dechamps/zfs@cc6cd40ad7 for details.

This harmless addition was merged to simplify testing the ZFS TRIM
support patches.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #167
This commit is contained in:
Etienne Dechamps 2012-09-01 15:02:25 +02:00 committed by Brian Behlendorf
parent 46b3945d5d
commit ac8ca67a88

View File

@ -33,5 +33,6 @@ struct dk_callback {
#define DKIOC (0x04 << 8) #define DKIOC (0x04 << 8)
#define DKIOCFLUSHWRITECACHE (DKIOC | 34) #define DKIOCFLUSHWRITECACHE (DKIOC | 34)
#define DKIOCTRIM (DKIOC | 35)
#endif /* _SPL_DKIO_H */ #endif /* _SPL_DKIO_H */