summaryrefslogtreecommitdiffstats
path: root/include/scsi/osd_ore.h
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2011-10-04 14:20:17 +0200
committerBoaz Harrosh <bharrosh@panasas.com>2011-10-25 01:30:08 +0200
commit611d7a5dc6f2a1a0cfd8cc07b9d15f794cbe5f98 (patch)
tree14227c7f62331a977e1979d1011b1bc85b6e102e /include/scsi/osd_ore.h
parentore/exofs: Change ore_check_io API (diff)
downloadlinux-611d7a5dc6f2a1a0cfd8cc07b9d15f794cbe5f98.tar.xz
linux-611d7a5dc6f2a1a0cfd8cc07b9d15f794cbe5f98.zip
ore: Make ore_calc_stripe_info EXPORT_SYMBOL
ore_calc_stripe_info is needed by exofs::export.c for the layout calculations. Make it exportable Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Diffstat (limited to 'include/scsi/osd_ore.h')
-rw-r--r--include/scsi/osd_ore.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/scsi/osd_ore.h b/include/scsi/osd_ore.h
index af2231a0fd09..a8e39d14f82b 100644
--- a/include/scsi/osd_ore.h
+++ b/include/scsi/osd_ore.h
@@ -146,6 +146,9 @@ static inline unsigned ore_io_state_size(unsigned numdevs)
/* ore.c */
int ore_verify_layout(unsigned total_comps, struct ore_layout *layout);
+void ore_calc_stripe_info(struct ore_layout *layout, u64 file_offset,
+ struct ore_striping_info *si);
+
int ore_get_rw_state(struct ore_layout *layout, struct ore_components *comps,
bool is_reading, u64 offset, u64 length,
struct ore_io_state **ios);