diff options
author | Karel Zak | 2012-06-06 11:03:23 +0200 |
---|---|---|
committer | Karel Zak | 2012-06-06 11:03:23 +0200 |
commit | df68ccd8b8354a84e57469a498997ab50aaa5dd3 (patch) | |
tree | 695305893795902ada81b9edb6e432695725ee9d /configure.ac | |
parent | fdisk: fix compiler warning [-Wunused-variable] (diff) | |
download | kernel-qcow2-util-linux-df68ccd8b8354a84e57469a498997ab50aaa5dd3.tar.gz kernel-qcow2-util-linux-df68ccd8b8354a84e57469a498997ab50aaa5dd3.tar.xz kernel-qcow2-util-linux-df68ccd8b8354a84e57469a498997ab50aaa5dd3.zip |
fdisk: fix io_size usage in new API
properly implemented fdisk_dev_has_topology() requires optimal
I/O size to detect that the device provides topology.
Unfortunately, currently used cxt->io_size maybe overwritten in
__discover_topology() to min_io_size.
This patch introduces cxt->optimal_io_size and keeps it independent on
cxt->io_size. The cxt->io_size is I/O size used by fdisk for alignment
calculation.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions