diff options
author | 2017-10-19 14:16:01 -0400 | |
---|---|---|
committer | 2017-11-01 20:45:35 +0100 | |
commit | ce8ea7cc6eb3139f4c730d647325e69354159b0f (patch) | |
tree | 22c6c34e55ce1dabf8ca7d5d81205828f387ea51 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: track refs in a rb_tree instead of a list (diff) | |
download | linux-dev-ce8ea7cc6eb3139f4c730d647325e69354159b0f.tar.xz linux-dev-ce8ea7cc6eb3139f4c730d647325e69354159b0f.zip |
btrfs: don't call btrfs_start_delalloc_roots in flushoncommit
We're holding the sb_start_intwrite lock at this point, and doing async
filemap_flush of the inodes will result in a deadlock if we freeze the
fs during this operation. This is because we could do a
btrfs_join_transaction() in the thread we are waiting on which would
block at sb_start_intwrite, and thus deadlock. Using
writeback_inodes_sb() side steps the problem by not introducing all of
these extra locking dependencies.
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions