aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorMikulas Patocka <[email protected]>2009-12-10 23:52:31 +0000
committerAlasdair G Kergon <[email protected]>2009-12-10 23:52:31 +0000
commit3452c2a1eb5b93c1b9fb0d22bd5b07c0cee4dc29 (patch)
tree65d4af8d6cf36ac4bcc8c226f8be891740d343ee /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent515ad66cc4c82f210d726340349c8f7c1ec6b125 (diff)
dm snapshot: avoid allocating exceptions in merge
The snapshot-merge target should not allocate new exceptions because the intent is to merge all of its exceptions as quickly and safely as possible. This patch introduces the snapshot-merge mapping function and updates __origin_write() so that it doesn't allocate exceptions on any snapshots that are being merged. If a write request to a merging snapshot device is to be dispatched directly to the origin (because the chunk is not remapped or was already merged), snapshot_merge_map() must make exceptions in other snapshots so calls do_origin(). Signed-off-by: Mikulas Patocka <[email protected]> Signed-off-by: Mike Snitzer <[email protected]> Signed-off-by: Alasdair G Kergon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions