A logical followup to my other recent cleanups. The only remaining
mention of sectors in block.h APIs is in bdrv_nb_sectors()
(converting those callers to bdrv_getlength() not only requires more
work, but would be our opportunity to see if we could quit rounding
block sizes to sector boundaries for byte-based protocols that can
actually report an exact unaligned size) and for computing geometries
(where it actually makes sense).
Based-on: <20180424192506.149089-1-eblake@redhat.com>
([PATCH v2 0/6] block: byte-based AIO read/write)
Based-on: <20180426025129.621969-1-eblake@redhat.com>
([PATCH v6 0/6] minor qcow2 compression improvements)
Eric Blake (3):
vdi: Switch to byte-based calls
vvfat: Switch to byte-based calls
block: Removed unused sector-based blocking I/O
include/block/block.h | 4 ----
block/io.c | 48 ++++++++----------------------------------------
block/vdi.c | 14 +++++++-------
block/vvfat.c | 20 +++++++++++---------
4 files changed, 26 insertions(+), 60 deletions(-)
--
2.14.3