summaryrefslogtreecommitdiffstats
path: root/drivers/block/aoe/aoe.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-11-10 09:30:47 +0100
committerJens Axboe <axboe@kernel.dk>2018-11-10 08:03:49 -0700
commit61e7712e25bbe964c9537bb1171bac4df7afa593 (patch)
tree791c25fa0971d6acdb68e5b6737f1b8b6e947583 /drivers/block/aoe/aoe.h
parent1bee42438f32de405987b4a41b93624b184ae481 (diff)
downloadlinux-61e7712e25bbe964c9537bb1171bac4df7afa593.tar.gz
linux-61e7712e25bbe964c9537bb1171bac4df7afa593.tar.bz2
linux-61e7712e25bbe964c9537bb1171bac4df7afa593.zip
aoe: replace ->special use with private data in the request
Makes the code a whole lot easier to read. Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/aoe/aoe.h')
-rw-r--r--drivers/block/aoe/aoe.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/block/aoe/aoe.h b/drivers/block/aoe/aoe.h
index 7ca76ed2e71a..84d0fcebd6af 100644
--- a/drivers/block/aoe/aoe.h
+++ b/drivers/block/aoe/aoe.h
@@ -100,6 +100,10 @@ enum {
MAX_TAINT = 1000, /* cap on aoetgt taint */
};
+struct aoe_req {
+ unsigned long nr_bios;
+};
+
struct buf {
ulong nframesout;
struct bio *bio;