aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ceph
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2014-11-14 08:56:29 -0500
committerIlya Dryomov <idryomov@redhat.com>2014-12-17 12:09:52 -0500
commit01deead041e03c9a6b4e1b2dd165dee4cced6112 (patch)
tree6c7a29c90eb8d69a730154a7f8c326fbcd3940f8 /include/linux/ceph
parent31c542a199d79f0f402c2f3e04229464510d47ec (diff)
ceph: use getattr request to fetch inline data
Add a new parameter 'locked_page' to ceph_do_getattr(). If inline data in getattr reply will be copied to the page. Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'include/linux/ceph')
-rw-r--r--include/linux/ceph/ceph_fs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ceph/ceph_fs.h b/include/linux/ceph/ceph_fs.h
index 2d4acfa2c7b7..c0dadaac26e3 100644
--- a/include/linux/ceph/ceph_fs.h
+++ b/include/linux/ceph/ceph_fs.h
@@ -617,6 +617,8 @@ int ceph_flags_to_mode(int flags);
617 CEPH_CAP_LINK_SHARED | \ 617 CEPH_CAP_LINK_SHARED | \
618 CEPH_CAP_FILE_SHARED | \ 618 CEPH_CAP_FILE_SHARED | \
619 CEPH_CAP_XATTR_SHARED) 619 CEPH_CAP_XATTR_SHARED)
620#define CEPH_STAT_CAP_INLINE_DATA (CEPH_CAP_FILE_SHARED | \
621 CEPH_CAP_FILE_RD)
620 622
621#define CEPH_CAP_ANY_SHARED (CEPH_CAP_AUTH_SHARED | \ 623#define CEPH_CAP_ANY_SHARED (CEPH_CAP_AUTH_SHARED | \
622 CEPH_CAP_LINK_SHARED | \ 624 CEPH_CAP_LINK_SHARED | \