diff options
author | 2013-02-05 23:41:50 -0600 | |
---|---|---|
committer | 2013-02-13 18:29:11 -0800 | |
commit | 077413082f9ade9ca4d9774dbdc81ee7256d8089 (patch) | |
tree | 825678f1ad0b9108bb2beb7e6f1e29415d49d27c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rbd: turn off interrupts for open/remove locking (diff) | |
download | linux-dev-077413082f9ade9ca4d9774dbdc81ee7256d8089.tar.xz linux-dev-077413082f9ade9ca4d9774dbdc81ee7256d8089.zip |
rbd: add barriers near done flag operations
Somehow, I missed this little item in Documentation/atomic_ops.txt:
*** WARNING: atomic_read() and atomic_set() DO NOT IMPLY BARRIERS! ***
Create and use some helper functions that include the proper memory
barriers for manipulating the done field.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions