aboutsummaryrefslogtreecommitdiffstats
path: root/fs/exofs/exofs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/exofs/exofs.h')
-rw-r--r--fs/exofs/exofs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/fs/exofs/exofs.h b/fs/exofs/exofs.h
index 09e331935514..0d8a34b21ae1 100644
--- a/fs/exofs/exofs.h
+++ b/fs/exofs/exofs.h
@@ -58,6 +58,14 @@
58struct exofs_layout { 58struct exofs_layout {
59 osd_id s_pid; /* partition ID of file system*/ 59 osd_id s_pid; /* partition ID of file system*/
60 60
61 /* Our way of looking at the data_map */
62 unsigned stripe_unit;
63 unsigned mirrors_p1;
64
65 unsigned group_width;
66
67 enum exofs_inode_layout_gen_functions lay_func;
68
61 unsigned s_numdevs; /* Num of devices in array */ 69 unsigned s_numdevs; /* Num of devices in array */
62 struct osd_dev *s_ods[0]; /* Variable length */ 70 struct osd_dev *s_ods[0]; /* Variable length */
63}; 71};
@@ -133,6 +141,9 @@ struct exofs_io_state {
133 struct exofs_per_dev_state { 141 struct exofs_per_dev_state {
134 struct osd_request *or; 142 struct osd_request *or;
135 struct bio *bio; 143 struct bio *bio;
144 loff_t offset;
145 unsigned length;
146 unsigned dev;
136 } per_dev[]; 147 } per_dev[];
137}; 148};
138 149