block: move struct request to blk-mq.h

struct request is only used by blk-mq drivers, so move it and all
related declarations to blk-mq.h.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20210920123328.1399408-18-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Christoph Hellwig 2021-09-20 14:33:28 +02:00 committed by Jens Axboe
parent fe45e630a1
commit 24b83deb29
13 changed files with 476 additions and 475 deletions

View file

@ -2,7 +2,7 @@
#ifndef BLKTRACE_H
#define BLKTRACE_H
#include <linux/blkdev.h>
#include <linux/blk-mq.h>
#include <linux/relay.h>
#include <linux/compat.h>
#include <uapi/linux/blktrace_api.h>