diff options
| author | Paolo Bonzini | 2017-06-05 14:38:52 +0200 |
|---|---|---|
| committer | Fam Zheng | 2017-06-16 01:55:00 +0200 |
| commit | d993b85804b7ec099d4e1d377161ac8af398d855 (patch) | |
| tree | 4884e4e48d1403d720a08a8080c0a35041b82d40 /include | |
| parent | block: access quiesce_counter with atomic ops (diff) | |
| download | qemu-d993b85804b7ec099d4e1d377161ac8af398d855.tar.gz qemu-d993b85804b7ec099d4e1d377161ac8af398d855.tar.xz qemu-d993b85804b7ec099d4e1d377161ac8af398d855.zip | |
block: access io_limits_disabled with atomic ops
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20170605123908.18777-4-pbonzini@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sysemu/block-backend.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sysemu/block-backend.h b/include/sysemu/block-backend.h index 840ad6134c..24b63d6b03 100644 --- a/include/sysemu/block-backend.h +++ b/include/sysemu/block-backend.h @@ -80,7 +80,8 @@ typedef struct BlockBackendPublic { CoQueue throttled_reqs[2]; /* Nonzero if the I/O limits are currently being ignored; generally - * it is zero. */ + * it is zero. Accessed with atomic operations. + */ unsigned int io_limits_disabled; /* The following fields are protected by the ThrottleGroup lock. |
