mirror of
https://github.com/ceph/ceph
synced 2025-04-11 04:02:04 +00:00
asdf
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@2084 29311d96-e01e-0410-9327-a35deaab8ce9
This commit is contained in:
parent
b123f7d2b0
commit
03ee4cf910
@ -89,6 +89,12 @@ trymount:
|
|||||||
return -EIO;
|
return -EIO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* get handle for mount path */
|
||||||
|
/*err = ceph_open_dir(CEPH_INO_ROOT, args->path);
|
||||||
|
if (err)
|
||||||
|
return err;
|
||||||
|
*/
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,9 +42,31 @@ static inline struct ceph_super_info *ceph_sbinfo(struct super_block *sb)
|
|||||||
/*
|
/*
|
||||||
* CEPH file system in-core inode info
|
* CEPH file system in-core inode info
|
||||||
*/
|
*/
|
||||||
|
struct ceph_inode_cap {
|
||||||
|
int mds;
|
||||||
|
int caps;
|
||||||
|
__u64 seq;
|
||||||
|
int flags; /* stale, etc.? */
|
||||||
|
};
|
||||||
|
struct ceph_inode_frag_map_item {
|
||||||
|
__u32 frag;
|
||||||
|
__u32 mds;
|
||||||
|
};
|
||||||
|
|
||||||
struct ceph_inode_info {
|
struct ceph_inode_info {
|
||||||
struct ceph_file_layout i_layout;
|
struct ceph_file_layout i_layout;
|
||||||
|
|
||||||
int i_dir_auth;
|
int i_dir_auth;
|
||||||
|
struct ceph_frag_tree_head *i_fragtree, i_fragtree_static;
|
||||||
|
int i_frag_map_nr;
|
||||||
|
struct ceph_inode_frag_map_item *i_frag_map;
|
||||||
|
|
||||||
|
int i_nr_caps;
|
||||||
|
struct ceph_inode_cap *i_caps;
|
||||||
|
struct ceph_inode_cap i_caps_static[2];
|
||||||
|
off_t i_wr_size;
|
||||||
|
struct ceph_timeval i_wr_mtime;
|
||||||
|
|
||||||
struct inode vfs_inode;
|
struct inode vfs_inode;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user