mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
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:
parent
46b3945d5d
commit
ac8ca67a88
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user