aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorLars Ellenberg <[email protected]>2012-06-25 19:15:58 +0200
committerPhilipp Reisner <[email protected]>2012-07-24 15:14:00 +0200
commitdb141b2f42b485b700465fe2401fbe65c65b190c (patch)
tree2af5670c18463173c7b9f5450bf09a90e463f986 /tools/perf/util/trace-event-scripting.c
parent7ee1fb93f390f7a7231abec4e34e6ab20abeed45 (diff)
drbd: fix max_bio_size to be unsigned
We capped our max_bio_size respectively max_hw_sectors with min_t(int, lower level limit, our limit); unfortunately, some drivers, e.g. the kvm virtio block driver, initialize their limits to "-1U", and that is of course a smaller "int" value than our limit. Impact: we started to request 16 MB resync requests, which lead to protocol error and a reconnect loop. Fix all relevant constants and parameters to be unsigned int. Signed-off-by: Philipp Reisner <[email protected]> Signed-off-by: Lars Ellenberg <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions