ceph: record 'offset' for each entry of readdir result

This is preparation for using hash value as dentry 'offset'

Signed-off-by: Yan, Zheng <zyan@redhat.com>
This commit is contained in:
Yan, Zheng
2016-04-28 15:17:40 +08:00
committed by Ilya Dryomov
parent 956d39d631
commit 8974eebd38
5 changed files with 59 additions and 29 deletions

View File

@@ -52,6 +52,7 @@ struct ceph_mds_reply_dir_entry {
u32 name_len;
struct ceph_mds_reply_lease *lease;
struct ceph_mds_reply_info_in inode;
loff_t offset;
};
/*