summaryrefslogtreecommitdiffstats
path: root/src/client/ioctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/ioctl.h')
-rw-r--r--src/client/ioctl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/client/ioctl.h b/src/client/ioctl.h
index 25e4f1a9d05..15a8a87613d 100644
--- a/src/client/ioctl.h
+++ b/src/client/ioctl.h
@@ -37,4 +37,12 @@ struct ceph_ioctl_dataloc {
#define CEPH_IOC_GET_DATALOC _IOWR(CEPH_IOCTL_MAGIC, 3, \
struct ceph_ioctl_dataloc)
+#define CEPH_IOC_LAZYIO _IO(CEPH_IOCTL_MAGIC, 4)
+
+struct ceph_ioctl_invalidate_range {
+ __u64 offset, length;
+};
+#define CEPH_IOC_INVALIDATE_RANGE _IOW(CEPH_IOCTL_MAGIC, 5, \
+ struct ceph_ioctl_invalidate_range)
+
#endif