diff options
Diffstat (limited to 'include/linux/device-mapper.h')
| -rw-r--r-- | include/linux/device-mapper.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h index ed419c62dde1..63da56ed9796 100644 --- a/include/linux/device-mapper.h +++ b/include/linux/device-mapper.h | |||
| @@ -23,7 +23,6 @@ typedef enum { STATUSTYPE_INFO, STATUSTYPE_TABLE } status_type_t; | |||
| 23 | 23 | ||
| 24 | union map_info { | 24 | union map_info { |
| 25 | void *ptr; | 25 | void *ptr; |
| 26 | unsigned long long ll; | ||
| 27 | }; | 26 | }; |
| 28 | 27 | ||
| 29 | /* | 28 | /* |
| @@ -291,7 +290,6 @@ struct dm_target_callbacks { | |||
| 291 | struct dm_target_io { | 290 | struct dm_target_io { |
| 292 | struct dm_io *io; | 291 | struct dm_io *io; |
| 293 | struct dm_target *ti; | 292 | struct dm_target *ti; |
| 294 | union map_info info; | ||
| 295 | unsigned target_bio_nr; | 293 | unsigned target_bio_nr; |
| 296 | struct bio clone; | 294 | struct bio clone; |
| 297 | }; | 295 | }; |
| @@ -403,7 +401,6 @@ int dm_copy_name_and_uuid(struct mapped_device *md, char *name, char *uuid); | |||
| 403 | struct gendisk *dm_disk(struct mapped_device *md); | 401 | struct gendisk *dm_disk(struct mapped_device *md); |
| 404 | int dm_suspended(struct dm_target *ti); | 402 | int dm_suspended(struct dm_target *ti); |
| 405 | int dm_noflush_suspending(struct dm_target *ti); | 403 | int dm_noflush_suspending(struct dm_target *ti); |
| 406 | union map_info *dm_get_mapinfo(struct bio *bio); | ||
| 407 | union map_info *dm_get_rq_mapinfo(struct request *rq); | 404 | union map_info *dm_get_rq_mapinfo(struct request *rq); |
| 408 | 405 | ||
| 409 | struct queue_limits *dm_get_queue_limits(struct mapped_device *md); | 406 | struct queue_limits *dm_get_queue_limits(struct mapped_device *md); |
| @@ -466,6 +463,11 @@ struct mapped_device *dm_table_get_md(struct dm_table *t); | |||
| 466 | void dm_table_event(struct dm_table *t); | 463 | void dm_table_event(struct dm_table *t); |
| 467 | 464 | ||
| 468 | /* | 465 | /* |
| 466 | * Run the queue for request-based targets. | ||
| 467 | */ | ||
| 468 | void dm_table_run_md_queue_async(struct dm_table *t); | ||
| 469 | |||
| 470 | /* | ||
| 469 | * The device must be suspended before calling this method. | 471 | * The device must be suspended before calling this method. |
| 470 | * Returns the previous table, which the caller must destroy. | 472 | * Returns the previous table, which the caller must destroy. |
| 471 | */ | 473 | */ |
