From: Keith Busch <kbusch@xxxxxxxxxx> Including the fs list this time. I am still working on a better interface to report the dio alignment to an application. The most recent suggestion of using statx is proving to be less straight forward than I thought, but I don't want to hold this series up for that. Changes from v1: Included a prep patch to unify rw with zone append (Damien) Using ALIGN macro instead of reimplementing it (Bart) Squashed the segment size alignment patch into the "relax" patch since the check is only needed because of that patch. Fixed a check for short r/w in the _simple case. Keith Busch (3): block/bio: remove duplicate append pages code block: export dma_alignment attribute block: relax direct io memory alignment block/bio.c | 93 +++++++++++++++++++----------------------- block/blk-sysfs.c | 7 ++++ block/fops.c | 20 ++++++--- fs/direct-io.c | 11 +++-- fs/iomap/direct-io.c | 3 +- include/linux/blkdev.h | 5 +++ 6 files changed, 76 insertions(+), 63 deletions(-) -- 2.30.2