mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-21 14:21:48 +00:00
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:
parent
8f4236d900
commit
079076b341
4 changed files with 8 additions and 43 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue