diff options
author | Alex Elder <elder@inktank.com> | 2013-02-05 23:41:50 -0600 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-02-13 18:29:11 -0800 |
commit | 077413082f9ade9ca4d9774dbdc81ee7256d8089 (patch) | |
tree | 825678f1ad0b9108bb2beb7e6f1e29415d49d27c /lib | |
parent | a14ea269dd6b5e48a2941ba73b202cd7cd5d716d (diff) | |
download | linux-077413082f9ade9ca4d9774dbdc81ee7256d8089.tar.bz2 |
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 'lib')
0 files changed, 0 insertions, 0 deletions