This is v3 of Unaligned DIO read error path fix and clean ups. This version applies some small fixes to patch 1 suggested by Jan Kara (thank you!) and it was tested with xfstests aio group over f2fs and fio workloads. Gabriel Krisman Bertazi (3): direct-io: clean up error paths of do_blockdev_direct_IO direct-io: don't force writeback for reads beyond EOF direct-io: defer alignment check until after the EOF check fs/direct-io.c | 69 ++++++++++++++++++++++---------------------------- 1 file changed, 30 insertions(+), 39 deletions(-) -- 2.28.0