block: convert REQ_ATOM_COMPLETE to stealing rq->__deadline bit
authorJens Axboe <axboe@kernel.dk>
Wed, 10 Jan 2018 18:34:25 +0000 (11:34 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 10 Jan 2018 18:47:53 +0000 (11:47 -0700)
commite14575b3d457f5806d79b85886ef94d9c29e3b2a
treebf1a6137b1e38ece55196da485e5c97bdc711ea4
parent0a72e7f44964b9ada3e5c15820372e9cb119bf80
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>
block/blk-core.c
block/blk-mq-debugfs.c
block/blk-mq.c
block/blk.h
include/linux/blkdev.h