ore: Make ore_striping_info and ore_calc_stripe_info public
[linux-2.6.git] / include / scsi / osd_ore.h
index f7fabb4..e4d550f 100644 (file)
@@ -56,6 +56,14 @@ struct ore_components {
        struct osd_dev  **ods;                  /* osd_dev array              */
 };
 
+struct ore_striping_info {
+       u64 obj_offset;
+       u64 group_length;
+       u64 M; /* for truncate */
+       unsigned dev;
+       unsigned unit_off;
+};
+
 struct ore_io_state;
 typedef void (*ore_io_done_fn)(struct ore_io_state *ios, void *private);