summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-core.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-10-10 20:49:26 -0600
committerMike Snitzer <snitzer@redhat.com>2018-10-11 11:36:09 -0400
commit6a23e05c2fe3c64ec012fd81e51e3ab51e4f2f9f (patch)
tree43687a888b009ec49092138e6d691503669b4dc1 /drivers/md/dm-core.h
parent118aa47c7072bce05fc39bd40a1c0a90caed72ab (diff)
downloadlinux-stable-6a23e05c2fe3c64ec012fd81e51e3ab51e4f2f9f.tar.gz
linux-stable-6a23e05c2fe3c64ec012fd81e51e3ab51e4f2f9f.tar.bz2
linux-stable-6a23e05c2fe3c64ec012fd81e51e3ab51e4f2f9f.zip
dm: remove legacy request-based IO path
dm supports both, and since we're killing off the legacy path in general, get rid of it in dm. Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-core.h')
-rw-r--r--drivers/md/dm-core.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/md/dm-core.h b/drivers/md/dm-core.h
index 7d480c930eaf..224d44503a06 100644
--- a/drivers/md/dm-core.h
+++ b/drivers/md/dm-core.h
@@ -112,18 +112,8 @@ struct mapped_device {
struct dm_stats stats;
- struct kthread_worker kworker;
- struct task_struct *kworker_task;
-
- /* for request-based merge heuristic in dm_request_fn() */
- unsigned seq_rq_merge_deadline_usecs;
- int last_rq_rw;
- sector_t last_rq_pos;
- ktime_t last_rq_start_time;
-
/* for blk-mq request-based DM support */
struct blk_mq_tag_set *tag_set;
- bool use_blk_mq:1;
bool init_tio_pdu:1;
struct srcu_struct io_barrier;