diff options
| author | Ming Lei <[email protected]> | 2017-03-27 20:06:56 +0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2017-03-29 08:03:42 -0600 |
| commit | 5ed61d3f08d44937859dc537c5362ca293c98b04 (patch) | |
| tree | 02802c310ece8ac247bb016c5d58555612eea76e /include/linux | |
| parent | d9d149a39690184f63d74e3425c1e90b1d7e67d6 (diff) | |
block: add a read barrier in blk_queue_enter()
Without the barrier, reading DEAD flag of .q_usage_counter
and reading .mq_freeze_depth may be reordered, then the
following wait_event_interruptible() may never return.
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions