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:46:20 +0000 (11:46 -0700)
commit5dd44b721f62f176985204b195f861915e1ad9bf
treebf1a6137b1e38ece55196da485e5c97bdc711ea4
parent76951311f4bda4a43659d60099357a215ea3909b
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