diff options
author | 2017-11-15 16:20:52 -0500 | |
---|---|---|
committer | 2017-11-27 15:50:07 +0100 | |
commit | b77000ed558daa3bef0899d29bf171b8c9b5e6a8 (patch) | |
tree | df4e2531b11c7a3ea309c9ee991d43090f2be4b5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: clear space cache inode generation always (diff) | |
download | wireguard-linux-b77000ed558daa3bef0899d29bf171b8c9b5e6a8.tar.xz wireguard-linux-b77000ed558daa3bef0899d29bf171b8c9b5e6a8.zip |
btrfs: fix deadlock when writing out space cache
If we fail to prepare our pages for whatever reason (out of memory in
our case) we need to make sure to drop the block_group->data_rwsem,
otherwise hilarity ensues.
Signed-off-by: Josef Bacik <jbacik@fb.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ add label and use existing unlocking code ]
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