mbox series

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

Message ID 20240514173900.62207-1-hare@kernel.org (mailing list archive)
Headers show
Series enable bs > ps for block devices | expand

Message

Hannes Reinecke May 14, 2024, 5:38 p.m. UTC
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(-)