| From: |
| Keith Busch <kbusch-AT-fb.com> |
| To: |
| <linux-fsdevel-AT-vger.kernel.org>, <linux-block-AT-vger.kernel.org>, <linux-nvme-AT-lists.infradead.org> |
| Subject: |
| [PATCHv6 00/11] direct-io dma alignment |
| Date: |
| Fri, 10 Jun 2022 12:58:19 -0700 |
| Message-ID: |
| <20220610195830.3574005-1-kbusch@fb.com> |
| Cc: |
| <axboe-AT-kernel.dk>, Kernel Team <Kernel-team-AT-fb.com>, <hch-AT-lst.de>, <bvanassche-AT-acm.org>, <damien.lemoal-AT-opensource.wdc.com>, <ebiggers-AT-kernel.org>, <pankydev8-AT-gmail.com>, Keith Busch <kbusch-AT-kernel.org> |
| Archive-link: |
| Article |
From: Keith Busch <kbusch@kernel.org>
The previous version is available here:
https://lore.kernel.org/linux-block/Yp4qQRI5awiycml1@kbus...
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