diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2010-02-11 13:01:39 +0200 |
---|---|---|
committer | Boaz Harrosh <bharrosh@panasas.com> | 2010-02-28 03:55:53 -0800 |
commit | 50a76fd3c352ed2740eba01512efcfceee0703be (patch) | |
tree | 425416e068648e225b41327a120d00bbddd16d0e /lib/extable.c | |
parent | b367e78bd1c7af4c018ce98b1f6d3e001aba895a (diff) | |
download | op-kernel-dev-50a76fd3c352ed2740eba01512efcfceee0703be.zip op-kernel-dev-50a76fd3c352ed2740eba01512efcfceee0703be.tar.gz |
exofs: groups support
* _calc_stripe_info() changes to accommodate for grouping
calculations. Returns additional information
* old _prepare_pages() becomes _prepare_one_group()
which stores pages belonging to one device group.
* New _prepare_for_striping iterates on all groups calling
_prepare_one_group().
* Enable mounting of groups data_maps (group_width != 0)
[QUESTION]
what is faster A or B;
A. x += stride;
x = x % width + first_x;
B x += stride
if (x < last_x)
x = first_x;
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Diffstat (limited to 'lib/extable.c')
0 files changed, 0 insertions, 0 deletions