diff options
author | FUJITA Tomonori <[email protected]> | 2008-12-04 08:56:35 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2008-12-29 08:29:51 +0100 |
commit | 18af8b2ca34b831c32c6fa01e7ce33143c33bb63 (patch) | |
tree | 0feb71c891dea467c88181b1974d15cf58243f9a /tools/perf/scripts/python/syscall-counts.py | |
parent | a6f23657d3072bde6844055bbc2290e497f33fbc (diff) |
block: use min_not_zero in blk_queue_stack_limits
zero is invalid for max_phys_segments, max_hw_segments, and
max_segment_size. It's better to use use min_not_zero instead of
min. min() works though (because the commit 0e435ac makes sure that
these values are set to the default values, non zero, if a queue is
initialized properly).
With this patch, blk_queue_stack_limits does the almost same thing
that dm's combine_restrictions_low() does. I think that it's easy to
remove dm's combine_restrictions_low.
Signed-off-by: FUJITA Tomonori <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions