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>
This commit is contained in:

committed by
Jens Axboe

parent
8f4236d900
commit
079076b341
@@ -224,9 +224,7 @@ struct request {
|
||||
refcount_t ref;
|
||||
|
||||
unsigned int timeout;
|
||||
|
||||
/* access through blk_rq_set_deadline, blk_rq_deadline */
|
||||
unsigned long __deadline;
|
||||
unsigned long deadline;
|
||||
|
||||
union {
|
||||
struct __call_single_data csd;
|
||||
|
Reference in New Issue
Block a user