diff options
Diffstat (limited to 'usr/src/uts/common/sys')
-rw-r--r-- | usr/src/uts/common/sys/dkio.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/dkio.h b/usr/src/uts/common/sys/dkio.h index 7a9bbc3f15..9d88731c5d 100644 --- a/usr/src/uts/common/sys/dkio.h +++ b/usr/src/uts/common/sys/dkio.h @@ -24,6 +24,7 @@ * * Copyright 2017 Nexenta Systems, Inc. All rights reserved. * Copyright 2012 DEY Storage Systems, Inc. All rights reserved. + * Copyright 2019 Joyent, Inc. */ #ifndef _SYS_DKIO_H @@ -543,6 +544,13 @@ typedef struct dkioc_free_list_s { (sizeof (dkioc_free_list_t) + \ (num_exts - 1) * sizeof (dkioc_free_list_ext_t)) +/* + * ioctl to determine if free (e.g. SCSI UNMAP) is supported. + * See FDIOC ioctls for why we're not using '51' here. + */ +#define DKIOC_CANFREE (DKIOC|60) + + #ifdef __cplusplus } #endif |