ore: cleanup: Embed an ore_striping_info inside ore_io_state
authorBoaz Harrosh <bharrosh@panasas.com>
Sun, 2 Oct 2011 13:32:50 +0000 (15:32 +0200)
committerBoaz Harrosh <bharrosh@panasas.com>
Fri, 14 Oct 2011 16:53:54 +0000 (18:53 +0200)
commit98260754046eee4cc7d75751a4a20182ade39f58
tree550d555ffbb51dde9a5fce2ecea1f19385de069e
parentb916c5cd4d895a27b47a652648958f73e4f23ac6
ore: cleanup: Embed an ore_striping_info inside ore_io_state

Now that each ore_io_state covers only a single raid group.
A single striping_info math is needed. Embed one inside
ore_io_state to cache the calculation results and eliminate
an extra call.

Also the outer _prepare_for_striping is removed since it does nothing.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
fs/exofs/ore.c
include/scsi/osd_ore.h