exofs: Prepare for groups
authorBoaz Harrosh <bharrosh@panasas.com>
Sun, 7 Feb 2010 17:18:58 +0000 (19:18 +0200)
committerBoaz Harrosh <bharrosh@panasas.com>
Sun, 28 Feb 2010 11:44:44 +0000 (03:44 -0800)
commitb367e78bd1c7af4c018ce98b1f6d3e001aba895a
treed9a5391e6893d1754919178264ac2c86674084ce
parent96391e2bae0f8882b6f44809202a68be66e91dce
exofs: Prepare for groups

* Rename _offset_dev_unit_off() to _calc_stripe_info()
  and recieve a struct for the output params

* In _prepare_for_striping we only need to call
  _calc_stripe_info() once. The other componets
  are easy to calculate from that. This code
  was inspired by what's done in truncate.

* Some code shifts that make sense now but will make
  more sense when group support is added.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
fs/exofs/ios.c