diff options
author | Mike Snitzer <snitzer@redhat.com> | 2020-09-14 19:02:23 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2020-09-29 23:33:01 +0300 |
commit | 882ec4e609c1a6de1836e765905f62de1502ae1e (patch) | |
tree | b9ab981dd874b0729f764d49f3db5537f8c86446 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1471308fb5ec4335f9ae9fc65f65048dbe7c336e (diff) | |
download | linux-882ec4e609c1a6de1836e765905f62de1502ae1e.tar.xz |
dm table: stack 'chunk_sectors' limit to account for target-specific splitting
If target set ti->max_io_len it must be used when stacking
DM device's queue_limits to establish a 'chunk_sectors' that is
compatible with the IO stack.
By using lcm_not_zero() care is taken to avoid blindly overriding the
chunk_sectors limit stacked up by blk_stack_limits().
Depends-on: 07d098e6bbad ("block: allow 'chunk_sectors' to be non-power-of-2")
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions