diff options
author | 2011-05-25 13:10:16 -0400 | |
---|---|---|
committer | 2011-06-08 15:08:31 -0400 | |
commit | f2bb8f5cfb3bce595b2de251ed7638047fc4e530 (patch) | |
tree | 705123220f4e1ae64f1f67b852f9e93b18db8e9a /tools/perf/scripts/python/syscall-counts.py | |
parent | Btrfs: noinline the cluster searching functions (diff) | |
download | linux-dev-f2bb8f5cfb3bce595b2de251ed7638047fc4e530.tar.xz linux-dev-f2bb8f5cfb3bce595b2de251ed7638047fc4e530.zip |
Btrfs: don't commit the transaction if we dont have enough pinned bytes
I noticed when running an enospc test that we would get stuck committing the
transaction in check_data_space even though we truly didn't have enough space.
So check to see if bytes_pinned is bigger than num_bytes, if it's not don't
commit the transaction. Thanks,
Signed-off-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions