diff options
author | 2013-04-09 09:27:31 -0400 | |
---|---|---|
committer | 2013-04-09 09:27:31 -0400 | |
commit | 5c1ff33640293499f9b16450029c9fb4dc06543e (patch) | |
tree | de77ead0c0cefcda6e24f94a8336d65cc4ade2b9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ext4: fix deadlock with quota feature (diff) | |
download | linux-dev-5c1ff33640293499f9b16450029c9fb4dc06543e.tar.xz linux-dev-5c1ff33640293499f9b16450029c9fb4dc06543e.zip |
ext4: fix free space estimate in ext4_nonda_switch()
Values stored in s_freeclusters_counter and s_dirtyclusters_counter
are both in cluster units. Remove the cluster to block conversion
applied to s_freeclusters_counter causing an inflated estimate of
free space because s_dirtyclusters_counter is not similarly
converted. Rename free_blocks and dirty_blocks to better reflect
the units these variables contain to avoid future confusion. This
fix corrects ENOSPC failures for xfstests 127 and 231 on bigalloc
file systems.
Signed-off-by: Eric Whitney <enwlinux@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions