diff options
author | Jens Axboe <axboe@kernel.dk> | 2018-01-10 11:34:25 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-01-10 11:47:53 -0700 |
commit | e14575b3d457f5806d79b85886ef94d9c29e3b2a (patch) | |
tree | bf1a6137b1e38ece55196da485e5c97bdc711ea4 /include/linux/blkdev.h | |
parent | 0a72e7f44964b9ada3e5c15820372e9cb119bf80 (diff) | |
download | talos-obmc-linux-e14575b3d457f5806d79b85886ef94d9c29e3b2a.tar.gz talos-obmc-linux-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.h | 2 |
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; |