Skip to content

optimize writecache_writeback for performance

Huaisheng Ye dm-devel lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dm writecache: remove unused member pointer in writeback_structdrivers/md/dm-writecache.c+0 -10 replies
2/3dm writecache: add unlikely for getting two block with same LBAdrivers/md/dm-writecache.c+2 -20 replies
3/3dm writecache: optimize performance by sorting the blocks for writeback_alldrivers/md/dm-writecache.c+16 -30 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchMikulas Patocka
1/3A-b
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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