optimize writecache_writeback for performance
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | dm writecache: remove unused member pointer in writeback_structdrivers/ | +0 | 0 replies | |
| 2/3 | dm writecache: add unlikely for getting two block with same LBAdrivers/ | +2 | 0 replies | |
| 3/3 | dm writecache: optimize performance by sorting the blocks for writeback_alldrivers/ | +16 | 0 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Mikulas Patocka |
|---|---|
| 1/3 | A-b |
| 2/3 | A-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] optimize writecache_writeback for performance
From: Huaisheng Ye <[email protected]>
Patch 1 and 2 are used for cleaning the code, and they have got Acked-by from Mikulas.
Patch 3 is used for performance optimization when writeback_all, which could save more than half of time.
Of course, if the blocks in writecache are more uncontinuous and disordered, the more performance improvement would be gained from this patch.
Huaisheng Ye (3):
dm writecache: remove unused member pointer in writeback_struct dm writecache: add unlikely for getting two block with same LBA dm writecache: optimize performance by sorting the blocks for
writeback_all
drivers/md/dm-writecache.c | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-)
Signature · 1 line
1.8.3.1