From: Keith Busch <kbusch@xxxxxxxxxx> This series removes the direct io requirement that io vector lengths align to the logical block size. Changes from v1: - Fixed the return value when attempting to align a built bio to a block size multiple. - Added reviews Keith Busch (7): block: check for valid bio while splitting block: align the bio after building it block: simplify direct io validity check iomap: simplify direct io validity check block: remove bdev_iter_is_aligned blk-integrity: use simpler alignment check iov_iter: remove iov_iter_is_aligned block/bio-integrity.c | 4 +- block/bio.c | 60 +++++++++++++++++--------- block/blk-merge.c | 5 +++ block/fops.c | 4 +- fs/iomap/direct-io.c | 3 +- include/linux/blkdev.h | 7 ---- include/linux/uio.h | 2 - lib/iov_iter.c | 95 ------------------------------------------ 8 files changed, 50 insertions(+), 130 deletions(-) -- 2.47.3