]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/exofs/exofs.h
exofs: Define on-disk per-inode optional layout attribute
[net-next-2.6.git] / fs / exofs / exofs.h
index 33c68568b338040b211bdff323643fe8bc3d2396..09e33193551401a25784adf4c5d529526a9d8c25 100644 (file)
@@ -185,6 +185,12 @@ static inline struct exofs_i_info *exofs_i(struct inode *inode)
        return container_of(inode, struct exofs_i_info, vfs_inode);
 }
 
+/*
+ * Given a layout, object_number and stripe_index return the associated global
+ * dev_index
+ */
+unsigned exofs_layout_od_id(struct exofs_layout *layout,
+                           osd_id obj_no, unsigned layout_index);
 /*
  * Maximum count of links to a file
  */