diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2011-08-10 17:15:02 -0400 |
---|---|---|
committer | Boaz Harrosh <bharrosh@panasas.com> | 2011-10-03 11:07:51 -0400 |
commit | 8d2d83a8352b0f9c1da82c36f741722f2960feea (patch) | |
tree | 4a96539dce29c654def762d502b41da8de7cbce7 /include/scsi | |
parent | 5bf696dad4beecb6174e701c97e1f2574e6a2c96 (diff) |
exofs: Remove unused data_map member from exofs_sb_info
The struct pnfs_osd_data_map data_map member of exofs_sb_info was
never used after mount. In fact all it's members were duplicated
by the ore_layout structure. So just remove the duplicated information.
Also removed some stupid, but perfectly supported, restrictions on
layout parameters. The case where num_devices is not divisible by
mirror_count+1 is perfectly fine since the rotating device view
will eventually use all the devices it can get.
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Benny Halevy <bhalevy@tonian.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/osd_ore.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/scsi/osd_ore.h b/include/scsi/osd_ore.h index 954292a23767..f7fabb478877 100644 --- a/include/scsi/osd_ore.h +++ b/include/scsi/osd_ore.h | |||
@@ -34,6 +34,8 @@ struct ore_comp { | |||
34 | 34 | ||
35 | struct ore_layout { | 35 | struct ore_layout { |
36 | /* Our way of looking at the data_map */ | 36 | /* Our way of looking at the data_map */ |
37 | enum pnfs_osd_raid_algorithm4 | ||
38 | raid_algorithm; | ||
37 | unsigned stripe_unit; | 39 | unsigned stripe_unit; |
38 | unsigned mirrors_p1; | 40 | unsigned mirrors_p1; |
39 | 41 | ||