diff options
author | 2014-03-14 20:55:01 +0000 | |
---|---|---|
committer | 2014-03-20 17:15:28 -0700 | |
commit | 21543baddcdbaa49db5ac8766ae564381e7c64d9 (patch) | |
tree | 4ce8aee02deb8ed2d37ef08fe7b2bf2ef66eec24 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: Add trace for btrfs_workqueue alloc/destroy (diff) | |
download | linux-dev-21543baddcdbaa49db5ac8766ae564381e7c64d9.tar.xz linux-dev-21543baddcdbaa49db5ac8766ae564381e7c64d9.zip |
Btrfs: fix race when updating existing ref head
While we update an existing ref head's extent_op, we're not holding
its spinlock, so while we're updating its extent_op contents (key,
flags) we can have a task running __btrfs_run_delayed_refs() that
holds the ref head's lock and sets its extent_op to NULL right after
the task updating the ref head just checked its extent_op was not NULL.
Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
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