diff options
author | Sage Weil <sage@newdream.net> | 2010-05-26 23:31:03 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-05-26 23:47:49 +0200 |
commit | 297d3ecd455f9a35a1125c5853e2c6dcbd89f348 (patch) | |
tree | 7921bed033a5853be8775b330f9d52b27e9a3cb5 /src/client/ioctl.h | |
parent | mds: include LAYZIO cap in sync->mix and mix->sync transitions (diff) | |
download | ceph-297d3ecd455f9a35a1125c5853e2c6dcbd89f348.tar.xz ceph-297d3ecd455f9a35a1125c5853e2c6dcbd89f348.zip |
client: update ioctl.h (lazyio, invalidate_range)
Diffstat (limited to 'src/client/ioctl.h')
-rw-r--r-- | src/client/ioctl.h | 8 |
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 |