summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-09-16 22:50:12 -0700
committerSage Weil <sage@inktank.com>2013-09-17 06:27:34 -0700
commita14bc2c779082f63eb2b49e82cbd1130335691c1 (patch)
tree63633a94fe536976165c539584bc6bd7444ad6da
parentd564018e2f165d177d53234045ccfa8fccd989d8 (diff)
downloadceph-a14bc2c779082f63eb2b49e82cbd1130335691c1.tar.gz
mds: inline data definitions
-rw-r--r--src/include/ceph_fs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/ceph_fs.h b/src/include/ceph_fs.h
index 6c41d14f5da..406b51e65a4 100644
--- a/src/include/ceph_fs.h
+++ b/src/include/ceph_fs.h
@@ -522,6 +522,9 @@ struct ceph_filelock {
int ceph_flags_to_mode(int flags);
+/* inline data state */
+#define CEPH_INLINE_DISABLED ((__u64)-1)
+#define CEPH_INLINE_SIZE (1 << 12)
/* capability bits */
#define CEPH_CAP_PIN 1 /* no specific capabilities beyond the pin */