RFC: high-order folio support for I/O
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 26 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | brd: use XArray instead of radix-tree to index backing pagesdrivers/ | +24 | 3 replies | |
| 2/7 | brd: convert to foliosdrivers/ | +74 | 2 replies | |
| 3/7 | brd: abstract page_size conventionsdrivers/ | +30 | 0 replies | |
| 4/7 | brd: make sector size configurabledrivers/ | +35 | 6 replies | |
| 5/7 | brd: make logical sector size configurabledrivers/ | +30 | 0 replies | |
| 6/7 | mm/filemap: allocate folios with mapping blocksizeinclude/ mm/ mm/ | +14 | 5 replies | |
| 7/7 | mm/readahead: align readahead down to mapping blocksizemm/ | +4 | 0 replies |
Reviews trailers per patch
1 of 7 patches has a Reviewed-by or Acked-by.
| Patch | Matthew Wilcox (Oracle) |
|---|---|
| 1/7 | R-b |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] RFC: high-order folio support for I/O
Hi all,
now, that was easy.
Thanks to willy and his recent patchset to support large folios in gfs2 turns out that most of the work to support high-order folios for I/O is actually done.
It only need twe rather obvious patches to allocate folios with the order derived from the mapping blocksize, and to adjust readahead to avoid reading off the end of the device.
But with these two patches (and the patchset from hch to switch the block device over to iomap) (and the patchset from ritesh to support sub-blocksize iomap buffers) I can now do:
# modprobe brd rd_size=524288 rd_blksize=16384 # mkfs.xfs -b size=16384 /dev/ram0
it still fails when trying to mount the device:
XFS (ram0): Cannot set_blocksize to 16384 on device ram0
but to my understanding this is being worked on.
Christoph, any chance to have an updated submission of your patchset to convert block devices over to iomap?
I don't actually need the last one to switch off buffer heads, but the others really do help for this case.
The entire tree can be found at:
git.kernel.org:/pub/scm/linux/git/kernel/hare/scsi-devel.git branch brd.v2
Happy hacking!
Hannes Reinecke (6):
brd: convert to folios
brd: abstract page_size conventions
brd: make sector size configurable
brd: make logical sector size configurable mm/filemap: allocate folios with mapping blocksize mm/readahead: align readahead down to mapping blocksize
Pankaj Raghav (1):
brd: use XArray instead of radix-tree to index backing pages
drivers/block/brd.c | 320 +++++++++++++++++++++------------------- include/linux/pagemap.h | 7 + mm/filemap.c | 7 +- mm/readahead.c | 10 +- 4 files changed, 186 insertions(+), 158 deletions(-)
Signature · 1 line
2.35.3