diff options
author | 2013-03-18 10:51:44 -0400 | |
---|---|---|
committer | 2013-03-22 16:05:00 -0500 | |
commit | c9bdbdc0741d90908f492415c890b630f43f17f8 (patch) | |
tree | cf8bf3498ad3b724adcd3b609947e8d88cfed0f7 /tools/perf/scripts/python | |
parent | xfs: reorganize xfs_iomap_prealloc_size to remove indentation (diff) | |
download | linux-dev-c9bdbdc0741d90908f492415c890b630f43f17f8.tar.xz linux-dev-c9bdbdc0741d90908f492415c890b630f43f17f8.zip |
xfs: push rounddown_pow_of_two() to after prealloc throttle
The round down occurs towards the beginning of the function. Push
it down after throttling has occurred. This is to support adding
further transformations to 'alloc_blocks' that might not preserve
power-of-two alignment (and thus could lead to rounding down
multiple times).
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions