Skip to content

Commit

Permalink
Add DKIOCTRIM for TRIM support.
Browse files Browse the repository at this point in the history
See dechamps/zfs@cc6cd40 for details.

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

Signed-off-by: Brian Behlendorf <[email protected]>
Closes openzfs#167
  • Loading branch information
dechamps authored and behlendorf committed Sep 2, 2012
1 parent 46b3945 commit ac8ca67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/sys/dkio.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@ struct dk_callback {

#define DKIOC (0x04 << 8)
#define DKIOCFLUSHWRITECACHE (DKIOC | 34)
#define DKIOCTRIM (DKIOC | 35)

#endif /* _SPL_DKIO_H */

0 comments on commit ac8ca67

Please sign in to comment.