aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-01-10 11:34:25 -0700
committerJens Axboe <axboe@kernel.dk>2018-01-10 11:47:53 -0700
commite14575b3d457f5806d79b85886ef94d9c29e3b2a (patch)
treebf1a6137b1e38ece55196da485e5c97bdc711ea4 /include/linux/blkdev.h
parentblock: add accessors for setting/querying request deadline (diff)
downloadlinux-dev-e14575b3d457f5806d79b85886ef94d9c29e3b2a.tar.xz
linux-dev-e14575b3d457f5806d79b85886ef94d9c29e3b2a.zip
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 {
int internal_tag;
- unsigned long atomic_flags;
-
/* the following two fields are internal, NEVER access directly */
unsigned int __data_len; /* total data len */
int tag;