hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/md/dm-rq.h
....@@ -17,22 +17,6 @@
1717 struct mapped_device;
1818
1919 /*
20
- * One of these is allocated per request.
21
- */
22
-struct dm_rq_target_io {
23
- struct mapped_device *md;
24
- struct dm_target *ti;
25
- struct request *orig, *clone;
26
- struct kthread_work work;
27
- blk_status_t error;
28
- union map_info info;
29
- struct dm_stats_aux stats_aux;
30
- unsigned long duration_jiffies;
31
- unsigned n_sectors;
32
- unsigned completed;
33
-};
34
-
35
-/*
3620 * For request-based dm - the bio clones we allocate are embedded in these
3721 * structs.
3822 *
....@@ -46,10 +30,6 @@
4630 struct bio clone;
4731 };
4832
49
-bool dm_use_blk_mq_default(void);
50
-bool dm_use_blk_mq(struct mapped_device *md);
51
-
52
-int dm_old_init_request_queue(struct mapped_device *md, struct dm_table *t);
5333 int dm_mq_init_request_queue(struct mapped_device *md, struct dm_table *t);
5434 void dm_mq_cleanup_mapped_device(struct mapped_device *md);
5535