On 11/14/18 5:02 PM, Christoph Hellwig wrote:
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.
Signed-off-by: Christoph Hellwig <[email protected]>
---
block/blk-mq.c | 4 ++--
block/blk-timeout.c | 8 +++++---
block/blk.h | 35 -----------------------------------
include/linux/blkdev.h | 4 +---
4 files changed, 8 insertions(+), 43 deletions(-)
Reviewed-by: Hannes Reinecke <[email protected]>
Cheers,
Hannes
--
Dr. Hannes Reinecke Teamlead Storage & Networking
[email protected] +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)