md/bitmap: Optimal last page size
Status from this message: Applied to md-next. Thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest3 patches 8 repliesApplied
- v43 patches 1 replySuperseded
- v33 patches 5 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 1 patch | 6 replies | Superseded | |
| v1 | 1 patch | 6 replies | Superseded |
Patches in v5 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | md: Move sb writer loop to its own functiondrivers/ | +65 | 0 replies | |
| 2/3 | md: Fix types in sb writerdrivers/ | +14 | 0 replies | |
| 3/3 | md: Use optimal I/O size for last bitmap pagedrivers/ | +29 | 7 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Christoph Hellwig | Xiao Ni |
|---|---|---|
| Series | T-b | |
| 1/3 | R-b | |
| 2/3 | R-b | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/3] md/bitmap: Optimal last page size
From: Jon Derrick <[email protected]>
Currently the last bitmap page write will size itself down to the logical block size. This could cause less performance for devices which have atomic write units larger than the block size, such as many NVMe devices with 4kB write units and 512B block sizes. There is usually a large amount of space after the bitmap and using the optimal I/O size could favor speed over size.
This was tested on an Intel/Solidigm P5520 drive with lba format 512B, optimal I/O size of 4kB, resulting in a > 10x IOPS increase.
See patch 3 log for results.
v4->v5: Initialized rdev (kernel test bot)v3->v4: Fixed reviewers concernsv2->v3: Prep patch added and types fixed
Added helpers for optimal I/O sizes
Jon Derrick (3):
md: Move sb writer loop to its own function
md: Fix types in sb writer
md: Use optimal I/O size for last bitmap page
drivers/md/md-bitmap.c | 143 ++++++++++++++++++++++++----------------- 1 file changed, 83 insertions(+), 60 deletions(-)
Signature · 1 line
2.27.0