block: remove deadline __deadline manipulation helpers
authorChristoph Hellwig <hch@lst.de>
Wed, 14 Nov 2018 16:02:05 +0000 (17:02 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 15 Nov 2018 19:13:16 +0000 (12:13 -0700)
commit079076b3416e78ba2bb3ce38e05e320c388c3120
tree9542a0f94fc2fcf98be8be557148904f8a55e58e
parent8f4236d9008b0973a8281256ccfde6913cdec6cb
block: remove deadline __deadline manipulation helpers

No users left since the removal of the legacy request interface, we can
remove all the magic bit stealing now and make it a normal field.

But use WRITE_ONCE/READ_ONCE on the new deadline field, given that we
don't seem to have any mechanism to guarantee a new value actually
gets seen by other threads.

Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
block/blk-timeout.c
block/blk.h
include/linux/blkdev.h