| .. | .. |
|---|
| 1 | 1 | /* Copyright (c) 2013 Coraid, Inc. See COPYING for GPL terms. */ |
|---|
| 2 | +#include <linux/blk-mq.h> |
|---|
| 3 | + |
|---|
| 2 | 4 | #define VERSION "85" |
|---|
| 3 | 5 | #define AOE_MAJOR 152 |
|---|
| 4 | 6 | #define DEVICE_NAME "aoe" |
|---|
| .. | .. |
|---|
| 98 | 100 | MAX_TAINT = 1000, /* cap on aoetgt taint */ |
|---|
| 99 | 101 | }; |
|---|
| 100 | 102 | |
|---|
| 103 | +struct aoe_req { |
|---|
| 104 | + unsigned long nr_bios; |
|---|
| 105 | +}; |
|---|
| 106 | + |
|---|
| 101 | 107 | struct buf { |
|---|
| 102 | 108 | ulong nframesout; |
|---|
| 103 | 109 | struct bio *bio; |
|---|
| .. | .. |
|---|
| 164 | 170 | struct gendisk *gd; |
|---|
| 165 | 171 | struct dentry *debugfs; |
|---|
| 166 | 172 | struct request_queue *blkq; |
|---|
| 173 | + struct list_head rq_list; |
|---|
| 174 | + struct blk_mq_tag_set tag_set; |
|---|
| 167 | 175 | struct hd_geometry geo; |
|---|
| 168 | 176 | sector_t ssize; |
|---|
| 169 | 177 | struct timer_list timer; |
|---|
| .. | .. |
|---|
| 201 | 209 | void aoeblk_exit(void); |
|---|
| 202 | 210 | void aoeblk_gdalloc(void *); |
|---|
| 203 | 211 | void aoedisk_rm_debugfs(struct aoedev *d); |
|---|
| 204 | | -void aoedisk_rm_sysfs(struct aoedev *d); |
|---|
| 205 | 212 | |
|---|
| 206 | 213 | int aoechr_init(void); |
|---|
| 207 | 214 | void aoechr_exit(void); |
|---|