]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
asdf
authorsageweil <sageweil@29311d96-e01e-0410-9327-a35deaab8ce9>
Mon, 19 Nov 2007 20:15:56 +0000 (20:15 +0000)
committersageweil <sageweil@29311d96-e01e-0410-9327-a35deaab8ce9>
Mon, 19 Nov 2007 20:15:56 +0000 (20:15 +0000)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@2084 29311d96-e01e-0410-9327-a35deaab8ce9

trunk/ceph/kernel/client.c
trunk/ceph/kernel/super.h

index c1a7fa7866107469d81d6da786f69e826055f47d..31f8363a65ff122919fb57d96896aa88dbe464ad 100644 (file)
@@ -88,6 +88,12 @@ trymount:
                        goto trymount;
                return -EIO;
        }
+
+       /* get handle for mount path */
+       /*err = ceph_open_dir(CEPH_INO_ROOT, args->path);
+       if (err)
+               return err;
+       */
        
        return 0;
 }
index a516197b8fd7f7a3c79533bc6f917b9a431fc5a4..3055e978c2513522f3f8e5e3b9f4fd6655469733 100644 (file)
@@ -42,9 +42,31 @@ static inline struct ceph_super_info *ceph_sbinfo(struct super_block *sb)
 /*
  * 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_file_layout i_layout;
+
        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;
 };