commit | b367e78bd1c7af4c018ce98b1f6d3e001aba895a | [log] [tgz] |
---|---|---|
author | Boaz Harrosh <bharrosh@panasas.com> | Sun Feb 07 19:18:58 2010 +0200 |
committer | Boaz Harrosh <bharrosh@panasas.com> | Sun Feb 28 03:44:44 2010 -0800 |
tree | d9a5391e6893d1754919178264ac2c86674084ce | |
parent | 96391e2bae0f8882b6f44809202a68be66e91dce [diff] |
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>