aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/osd_ore.h
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2011-08-10 17:17:28 -0400
committerBoaz Harrosh <bharrosh@panasas.com>2011-10-03 11:07:51 -0400
commiteb507bc18969f63b8968034144fd69706c492516 (patch)
tree6f5606ce9af0636316683a03ed4f993afa10ed2d /include/scsi/osd_ore.h
parent8d2d83a8352b0f9c1da82c36f741722f2960feea (diff)
ore: Make ore_striping_info and ore_calc_stripe_info public
The struct ore_striping_info will be used later in other structures. And ore_calc_stripe_info as well. Rename them make struct ore_striping_info public. ore_calc_stripe_info is still static, will be made public on first use. Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Diffstat (limited to 'include/scsi/osd_ore.h')
-rw-r--r--include/scsi/osd_ore.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/scsi/osd_ore.h b/include/scsi/osd_ore.h
index f7fabb478877..e4d550faa7c9 100644
--- a/include/scsi/osd_ore.h
+++ b/include/scsi/osd_ore.h
@@ -56,6 +56,14 @@ struct ore_components {
56 struct osd_dev **ods; /* osd_dev array */ 56 struct osd_dev **ods; /* osd_dev array */
57}; 57};
58 58
59struct ore_striping_info {
60 u64 obj_offset;
61 u64 group_length;
62 u64 M; /* for truncate */
63 unsigned dev;
64 unsigned unit_off;
65};
66
59struct ore_io_state; 67struct ore_io_state;
60typedef void (*ore_io_done_fn)(struct ore_io_state *ios, void *private); 68typedef void (*ore_io_done_fn)(struct ore_io_state *ios, void *private);
61 69