diff options
author | Yan, Zheng <zyan@redhat.com> | 2014-11-14 21:56:29 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@redhat.com> | 2014-12-17 20:09:52 +0300 |
commit | 01deead041e03c9a6b4e1b2dd165dee4cced6112 (patch) | |
tree | 6c7a29c90eb8d69a730154a7f8c326fbcd3940f8 /fs/ceph/mds_client.h | |
parent | 31c542a199d79f0f402c2f3e04229464510d47ec (diff) | |
download | lwn-01deead041e03c9a6b4e1b2dd165dee4cced6112.tar.gz lwn-01deead041e03c9a6b4e1b2dd165dee4cced6112.zip |
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 'fs/ceph/mds_client.h')
-rw-r--r-- | fs/ceph/mds_client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/mds_client.h b/fs/ceph/mds_client.h index 01f5e4cfd684..e2817d00f7d9 100644 --- a/fs/ceph/mds_client.h +++ b/fs/ceph/mds_client.h @@ -223,6 +223,7 @@ struct ceph_mds_request { int r_request_release_offset; struct ceph_msg *r_reply; struct ceph_mds_reply_info_parsed r_reply_info; + struct page *r_locked_page; int r_err; bool r_aborted; |