linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] optimize writecache_writeback for performance
@ 2019-08-25  7:24 Huaisheng Ye
  2019-08-25  7:24 ` [PATCH 1/3] dm writecache: remove unused member pointer in writeback_struct Huaisheng Ye
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Huaisheng Ye @ 2019-08-25  7:24 UTC (permalink / raw)
  To: mpatocka, snitzer, agk; +Cc: prarit, tyu1, dm-devel, linux-kernel, Huaisheng Ye

From: Huaisheng Ye <yehs1@lenovo.com>

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(-)

-- 
1.8.3.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-08-25  7:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-25  7:24 [PATCH 0/3] optimize writecache_writeback for performance Huaisheng Ye
2019-08-25  7:24 ` [PATCH 1/3] dm writecache: remove unused member pointer in writeback_struct Huaisheng Ye
2019-08-25  7:24 ` [PATCH 2/3] dm writecache: add unlikely for getting two block with same LBA Huaisheng Ye
2019-08-25  7:24 ` [PATCH 3/3] dm writecache: optimize performance by sorting the blocks for writeback_all Huaisheng Ye

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).