Skip to content

enable bs > ps for block devices

Hannes Reinecke linux-block linux-nvme llvm oe-kbuild-all 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 4 repliesIn review
  2. v15 patches 27 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6fs/mpage: avoid negative shift for large blocksizefs/mpage.c+2 -20 replies
2/6fs/mpage: use blocks_per_folio instead of blocks_per_pagefs/mpage.c+21 -240 replies
3/6blk-merge: split bio by max_segment_size, not PAGE_SIZEblock/blk-merge.c+2 -14 replies
4/6block/bdev: enable large folio support for large logical block sizesblock/bdev.c+4 -00 replies
5/6block/bdev: lift restrictions on supported blocksizeblock/bdev.c+4 -30 replies
6/6nvme: enable logical block size > PAGE_SIZEdrivers/nvme/host/core.c+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCHv2 0/6] enable bs > ps for block devices

Hi all,

based on the patch series from Pankaj '[PATCH v5 00/11] enable bs > ps in XFS' it's now quite simple to enable support for block devices with block sizes larger than page size even without having to disable CONFIG_BUFFER_HEAD. The patchset really is just two rather trivial patches to fs/mpage, and two patches to remove hardcoded restrictions on the block size.

As usual, comments and reviews are welcome.

Changes to the original submission:
- Include reviews from Matthew
- Include reviews from Luis
- Fixup crash in bio_split()

Hannes Reinecke (5):
fs/mpage: avoid negative shift for large blocksize fs/mpage: use blocks_per_folio instead of blocks_per_page
blk-merge: split bio by max_segment_size, not PAGE_SIZE block/bdev: enable large folio support for large logical block sizes block/bdev: lift restrictions on supported blocksize

Pankaj Raghav (1):
nvme: enable logical block size > PAGE_SIZE

 block/bdev.c             | 11 ++++++---
 block/blk-merge.c        |  3 ++-
 drivers/nvme/host/core.c |  8 +++----
 fs/mpage.c               | 49 +++++++++++++++++++---------------------
 4 files changed, 37 insertions(+), 34 deletions(-)
Signature · 1 line
2.35.3