diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2016-07-19 13:16:24 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2016-07-19 11:37:08 -0400 |
commit | 89d3d9a1e38a6bd453038cfdc7e1576ef2d19719 (patch) | |
tree | acafef3a5b3713da5c702c9b7ba95a7a4a33da12 /MAINTAINERS | |
parent | 094f394df6a33f959888d445b362a9086823a2fb (diff) |
dm raid: fix random optimal_io_size for raid0
raid_io_hints() was retrieving the number of data stripes used for the
calculation of io_opt from struct r5conf, which is not defined for raid0
mappings.
Base the calculation on the in-core raid_set structure instead.
Also, adjust to use to_bytes() for the sector -> bytes conversion
throughout.
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions