diff options
| author | Bart Van Assche <[email protected]> | 2018-03-07 17:10:05 -0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2018-03-08 14:13:48 -0700 |
| commit | 7dfdbc7367f6f789715cab2cb484b78ab45e9f3e (patch) | |
| tree | 12bb8fc5fe749d47d9948f2a2b502a021fe9dd1d /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 8814ce8a0f680599a837af18aefdec774e5c7b97 (diff) | |
block: Protect queue flag changes with the queue lock
Since the queue flags may be changed concurrently from multiple
contexts after a queue becomes visible in sysfs, make these changes
safe by protecting these with the queue lock.
Cc: Christoph Hellwig <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Ming Lei <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions