summaryrefslogtreecommitdiffstats
path: root/drivers/memstick/core/ms_block.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-10-15 08:58:05 -0600
committerJens Axboe <axboe@kernel.dk>2018-11-07 13:42:31 -0700
commitdb1142a83b4caf73b6510d0efd6ef3ab7a508105 (patch)
tree21f9884c4b1a069eda0832d9b54668ddb006602b /drivers/memstick/core/ms_block.h
parentfa182a1fa97dff56cda742f22d17d666420cd27f (diff)
downloadlinux-db1142a83b4caf73b6510d0efd6ef3ab7a508105.tar.bz2
ms_block: convert to blk-mq
Straight forward conversion, room for optimization in how everything is punted to a work queue. Also looks plenty racy all over the map, with the state changes. I fixed a bunch of them up while doing the conversion, but there are surely more. Cc: Maxim Levitsky <maximlevitsky@gmail.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Tested-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/memstick/core/ms_block.h')
-rw-r--r--drivers/memstick/core/ms_block.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/memstick/core/ms_block.h b/drivers/memstick/core/ms_block.h
index 53962c3b21df..9ba84e0ced63 100644
--- a/drivers/memstick/core/ms_block.h
+++ b/drivers/memstick/core/ms_block.h
@@ -152,6 +152,7 @@ struct msb_data {
struct gendisk *disk;
struct request_queue *queue;
spinlock_t q_lock;
+ struct blk_mq_tag_set tag_set;
struct hd_geometry geometry;
struct attribute_group attr_group;
struct request *req;