Skip to content

direct-io dma alignment

Keith Busch linux-block linux-f2fs-devel linux-fsdevel linux-nvme 5 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest11 patches 30 repliesApplied
  2. v511 patches 14 repliesSuperseded
  3. v49 patches 19 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v36 patches19 repliesSuperseded
v23 patches38 repliesSuperseded

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/11block: fix infinite loop for invalid zone appendblock/bio.c+0 -30 replies
2/11block/bio: remove duplicate append pages codeblock/bio.c+42 -600 replies
3/11block: export dma_alignment attributeDocumentation/ABI/stable/sysfs-block block/blk-sysfs.c+16 -00 replies
4/11block: introduce bdev_dma_alignment helperinclude/linux/blkdev.h+5 -00 replies
5/11block: add a helper function for dio alignmentblock/fops.c+10 -61 reply
6/11block/merge: count bytes instead of sectorsblock/blk-merge.c+24 -171 reply
7/11block/bounce: count bytes instead of sectorsblock/bounce.c+10 -33 replies
8/11iov: introduce iov_iter_alignedinclude/linux/uio.h lib/iov_iter.c+94 -00 replies
9/11block: introduce bdev_iter_is_aligned helperinclude/linux/blkdev.h+7 -00 replies
10/11block: relax direct io memory alignmentblock/bio.c block/fops.c include/linux/blkdev.h+16 -20 replies
11/11iomap: add support for dma aligned direct-iofs/iomap/direct-io.c+2 -224 replies

Reviews trailers per patch

All 11 patches have a Reviewed-by or Acked-by.

PatchChristoph HellwigJohannes ThumshirnDamien Le MoalPankaj Raghav
1/11R-b R-b R-b
2/11R-b R-b
3/11R-b R-b
4/11R-b R-b
5/11R-b R-b
6/11R-b R-b
7/11R-b R-b R-b
8/11R-b
9/11R-b
10/11R-b
11/11R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v6 thread

Cover letter [PATCHv6 00/11] direct-io dma alignment

From: Keith Busch <[email protected]>

The previous version is available here:

https://lore.kernel.org/linux-block/[email protected]/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(-)
Signature · 1 line
2.30.2