summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMark Fasheh <mfasheh@suse.de>2015-06-30 14:42:06 -0700
committerChris Mason <clm@fb.com>2015-08-09 07:34:25 -0700
commit293a8489f300536dc6d996c35a6ebb89aa03bab2 (patch)
treec428134cc3f86ec4e3dd48c413eee15995d5bfc0 /tools/perf/scripts/python/export-to-postgresql.py
parent4a3560c4f3f0f92d3b673944753e3e947e030bc4 (diff)
btrfs: fix clone / extent-same deadlocks
Clone and extent same lock their source and target inodes in opposite order. In addition to this, the range locking in clone doesn't take ordering into account. Fix this by having clone use the same locking helpers as btrfs-extent-same. In addition, I do a small cleanup of the locking helpers, removing a case (both inodes being the same) which was poorly accounted for and never actually used by the callers. Signed-off-by: Mark Fasheh <mfasheh@suse.de> Reviewed-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions