[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190825072433.2628-1-yehs2007@zoho.com>
Date: Sun, 25 Aug 2019 15:24:30 +0800
From: Huaisheng Ye <yehs2007@...o.com>
To: mpatocka@...hat.com, snitzer@...hat.com, agk@...hat.com
Cc: prarit@...hat.com, tyu1@...ovo.com, dm-devel@...hat.com,
linux-kernel@...r.kernel.org, Huaisheng Ye <yehs1@...ovo.com>
Subject: [PATCH 0/3] optimize writecache_writeback for performance
From: Huaisheng Ye <yehs1@...ovo.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
Powered by blists - more mailing lists