aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-07-19 18:12:59 -0400
committerAlex Elder <elder@inktank.com>2012-10-01 15:30:48 -0400
commit6a52325f61760c6a7d7f3ea9736029bc9f63e7f3 (patch)
tree20a3c1c9b7a37e3266db0b8532fbeabf5ed42ab6 /tools/perf/scripts/python/futex-contention.py
parentd2bb24e506596ad0c10e4a7f4b2fca88cc75c0bc (diff)
rbd: rearrange rbd_header_from_disk()
This just moves code around for the most part. It was pulled out as a separate patch to avoid cluttering up some upcoming patches which are more substantive. The point is basically to group everything related to initializing the snapshot context together. The only functional change is that rbd_header_from_disk() now ensures the (in-core) header it is passed is zero-filled. This allows a simpler error handling path in rbd_header_from_disk(). Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions