diff options
| author | Qu Wenruo <[email protected]> | 2018-11-03 17:24:52 +0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2018-12-17 14:51:30 +0100 |
| commit | d9cb2459b2e96264246e3a78f43c2f74c2c72461 (patch) | |
| tree | 9797b4c4e3ad1919677741dcbb5e9518e7f127dd /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | ed46ff3d423780fa5173b38a844bf0fdb210a2a7 (diff) | |
btrfs: tests: Use BTRFS_MAX_EXTENT_SIZE to replace the intermediate number
In extent-io self test, we need 2 ordered extents at its maximum size to
do the test.
Instead of using the intermediate numbers, use BTRFS_MAX_EXTENT_SIZE for
@max_bytes, and twice @max_bytes for @total_dirty. This should explain
why we need all these magic numbers and prevent people to modify them by
accident.
Reviewed-by: Nikolay Borisov <[email protected]>
Signed-off-by: Qu Wenruo <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions