summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-11-09 18:43:15 +0400
committerAlex Elder <elder@inktank.com>2013-01-18 01:52:00 +0400
commitd78b650a595e23e5a115d332e3c37e019baf7703 (patch)
treed2fd5bb83a6b32f90d6cd802379feedc136d52b4 /tools/perf/scripts/python
parentb395e8b5b8f06399e3fe3ee016c9cf41ff665efc (diff)
downloadlinux-d78b650a595e23e5a115d332e3c37e019baf7703.tar.xz
rbd: make exists flag atomic
The rbd_device->exists field can be updated asynchronously, changing from set to clear if a mapped snapshot disappears from the base image's snapshot context. Currently, value of the "exists" flag is only read and modified under protection of the header semaphore, but that will change with the next patch. Making it atomic ensures this won't be a problem because the a the non-existence of device will be immediately known. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions