brd: Allow to change block sizes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 19 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | brd: convert to foliosdrivers/ | +85 | 7 replies | |
| 2/5 | brd: abstract page_size conventionsdrivers/ | +21 | 0 replies | |
| 3/5 | brd: make sector size configurabledrivers/ | +19 | 4 replies | |
| 4/5 | brd: limit maximal block size to 32Mdrivers/ | +8 | 4 replies | |
| 5/5 | brd: make logical sector size configurabledrivers/ | +23 | 3 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Luis Chamberlain |
|---|---|
| 1/5 | R-b |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] brd: Allow to change block sizes
Hi all,
meat to the bone: with this patchset one can change the physical and logical block size of the 'brd' ramdisk driver.
Default is 512 (for both); one can easily increase the physical block size to 16k and the logical block size to 4k.
Increasing the logcial block size beyond 4k gives some 'interesting' crashes.
It should also be possible to use the resulting ram disk as a backend for nvme target, thereby exercising the NVMe stack for larger block sizes, too.
Happy hacking!
Hannes Reinecke (5):
brd: convert to folios
brd: abstract page_size conventions
brd: make sector size configurable
brd: limit maximal block size to 32M
brd: make logical sector size configurable
drivers/block/brd.c | 244 ++++++++++++++++++++++++-------------------- 1 file changed, 136 insertions(+), 108 deletions(-)
Signature · 1 line
2.35.3