[PATCHv6 00/11] direct-io dma alignment
Keith Busch
kbusch at fb.com
Fri Jun 10 12:58:19 PDT 2022
From: Keith Busch <kbusch at kernel.org>
The previous version is available here:
https://lore.kernel.org/linux-block/Yp4qQRI5awiycml1@kbusch-mbp.dhcp.thefacebook.com/T/#m0a93b6392038aad6144e066fb5ada2cbf316f78e
Changes from the previous are all trivial changes:
Fixed a typo, s/bvev_/bdev_/
Updated commit messages and reviews
Updated code comments
Added a new comment for request_queue dma_alignement expressly
documenting the consequences of setting this. All existing users of
this attribute were checked to ensure they are on the correct side of
those consequences.
Keith Busch (11):
block: fix infinite loop for invalid zone append
block/bio: remove duplicate append pages code
block: export dma_alignment attribute
block: introduce bdev_dma_alignment helper
block: add a helper function for dio alignment
block/merge: count bytes instead of sectors
block/bounce: count bytes instead of sectors
iov: introduce iov_iter_aligned
block: introduce bdev_iter_is_aligned helper
block: relax direct io memory alignment
iomap: add support for dma aligned direct-io
Documentation/ABI/stable/sysfs-block | 9 +++
block/bio.c | 114 ++++++++++++---------------
block/blk-merge.c | 41 ++++++----
block/blk-sysfs.c | 7 ++
block/bounce.c | 13 ++-
block/fops.c | 16 ++--
fs/iomap/direct-io.c | 4 +-
include/linux/blkdev.h | 17 ++++
include/linux/uio.h | 2 +
lib/iov_iter.c | 92 +++++++++++++++++++++
10 files changed, 224 insertions(+), 91 deletions(-)
--
2.30.2
More information about the Linux-nvme
mailing list