diff options
| author | Alex Elder <[email protected]> | 2013-04-27 09:59:31 -0500 |
|---|---|---|
| committer | Sage Weil <[email protected]> | 2013-05-01 21:20:01 -0700 |
| commit | b644de2ba0c5b590db9195c03358ccd0f061daa6 (patch) | |
| tree | 85bfa5ab49b5a3617b04d8c4c3dab1750550f3dd /tools/perf/scripts/python/bin | |
| parent | 96f03e08f9f27cf72d2c24b4e75ade81d2df3c75 (diff) | |
rbd: set up watch in rbd_dev_image_probe()
Move setting up the watch request for an image so it's done in
rbd_dev_image_probe() rather than rbd_dev_probe_finish(). Move
it all the way up to before doing the initial probe. This avoids
a potential race condition, in which we get (and use) the initial
snapshot context for an image, and it gets changed between that
time and the time we get the watch set up.
This resolves:
http://tracker.ceph.com/issues/3871
Signed-off-by: Alex Elder <[email protected]>
Reviewed-by: Josh Durgin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions