aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorLars Ellenberg <[email protected]>2010-01-21 19:33:14 +0100
committerPhilipp Reisner <[email protected]>2010-01-22 11:34:54 +0100
commit98ec286e016a028678cc943b1a1f87668ad447c8 (patch)
tree7e64c5f4537d7b16f1e786ae23dde5a8be1c5bae /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentf06f135d8642e2f6812cfcb4ea8e4e9122d4d58c (diff)
drbd: fix max_segment_size initialization
blk_queue_make_request() internally calls blk_set_default_limits(), so calling blk_queue_max_segment_size() before is useless. Ergo: move the call to blk_queue_max_segment_size() down a few lines. Impact: If, after a fresh modprobe, you first connect a Diskless drbd, then attach, this could result in a DRBD Protocol Error at first. The next connection attempt would then succeeded. Signed-off-by: Philipp Reisner <[email protected]> Signed-off-by: Lars Ellenberg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions