aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-01-10 13:34:25 -0500
committerJens Axboe <axboe@kernel.dk>2018-01-10 13:47:53 -0500
commite14575b3d457f5806d79b85886ef94d9c29e3b2a (patch)
treebf1a6137b1e38ece55196da485e5c97bdc711ea4 /include/linux/blkdev.h
parent0a72e7f44964b9ada3e5c15820372e9cb119bf80 (diff)
block: convert REQ_ATOM_COMPLETE to stealing rq->__deadline bit
We only have one atomic flag left. Instead of using an entire unsigned long for that, steal the bottom bit of the deadline field that we already reserved. Remove ->atomic_flags, since it's now unused. Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com> Reviewed-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index aa6698cf483c..d4b2f7bb18d6 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -156,8 +156,6 @@ struct request {
156 156
157 int internal_tag; 157 int internal_tag;
158 158
159 unsigned long atomic_flags;
160
161 /* the following two fields are internal, NEVER access directly */ 159 /* the following two fields are internal, NEVER access directly */
162 unsigned int __data_len; /* total data len */ 160 unsigned int __data_len; /* total data len */
163 int tag; 161 int tag;