diff options
Diffstat (limited to 'include/linux/device-mapper.h')
-rw-r--r-- | include/linux/device-mapper.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h index fc36a4d07723..236880c1dc3f 100644 --- a/include/linux/device-mapper.h +++ b/include/linux/device-mapper.h | |||
@@ -144,18 +144,6 @@ struct target_type { | |||
144 | struct list_head list; | 144 | struct list_head list; |
145 | }; | 145 | }; |
146 | 146 | ||
147 | struct io_restrictions { | ||
148 | unsigned long bounce_pfn; | ||
149 | unsigned long seg_boundary_mask; | ||
150 | unsigned max_hw_sectors; | ||
151 | unsigned max_sectors; | ||
152 | unsigned max_segment_size; | ||
153 | unsigned short logical_block_size; | ||
154 | unsigned short max_hw_segments; | ||
155 | unsigned short max_phys_segments; | ||
156 | unsigned char no_cluster; /* inverted so that 0 is default */ | ||
157 | }; | ||
158 | |||
159 | struct dm_target { | 147 | struct dm_target { |
160 | struct dm_table *table; | 148 | struct dm_table *table; |
161 | struct target_type *type; | 149 | struct target_type *type; |
@@ -164,7 +152,7 @@ struct dm_target { | |||
164 | sector_t begin; | 152 | sector_t begin; |
165 | sector_t len; | 153 | sector_t len; |
166 | 154 | ||
167 | /* FIXME: turn this into a mask, and merge with io_restrictions */ | 155 | /* FIXME: turn this into a mask, and merge with queue_limits */ |
168 | /* Always a power of 2 */ | 156 | /* Always a power of 2 */ |
169 | sector_t split_io; | 157 | sector_t split_io; |
170 | 158 | ||
@@ -182,7 +170,7 @@ struct dm_target { | |||
182 | * These are automatically filled in by | 170 | * These are automatically filled in by |
183 | * dm_table_get_device. | 171 | * dm_table_get_device. |
184 | */ | 172 | */ |
185 | struct io_restrictions limits; | 173 | struct queue_limits limits; |
186 | 174 | ||
187 | /* target specific data */ | 175 | /* target specific data */ |
188 | void *private; | 176 | void *private; |