diff options
author | 2011-09-11 10:52:24 -0400 | |
---|---|---|
committer | 2011-09-11 10:52:24 -0400 | |
commit | 65450aa645b1ef7ed74e41c34b28d53333744978 (patch) | |
tree | db3d56353021c83e5551f91855d56d3b27bf9214 /tools/perf/scripts/python/syscall-counts.py | |
parent | Btrfs: skip locking if searching the commit root in csum lookup (diff) | |
download | linux-dev-65450aa645b1ef7ed74e41c34b28d53333744978.tar.xz linux-dev-65450aa645b1ef7ed74e41c34b28d53333744978.zip |
Btrfs: reset to appropriate block rsv after orphan operations
While truncating free space cache, we forget to change trans->block_rsv
back to the original one, but leave it with the orphan_block_rsv, and
then with option inode_cache enable, it leads to countless warnings of
btrfs_alloc_free_block and btrfs_orphan_commit_root:
WARNING: at fs/btrfs/extent-tree.c:5711 btrfs_alloc_free_block+0x180/0x350 [btrfs]()
...
WARNING: at fs/btrfs/inode.c:2193 btrfs_orphan_commit_root+0xb0/0xc0 [btrfs]()
Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions