Re: [PATCH 2/2] bcache: fix high CPU occupancy during journal

2018-01-31 Thread tang . junhui
From: Tang Junhui > Unfortunately, this doesn't build because of nonexistent call heap_empty > (I assume some changes to util.h got left out). I really need clean > patches that build and are formatted properly. > > Mike Oh, I am so sorry for that. A new version patch on road. I will be more c

Re: [PATCH 2/2] bcache: fix high CPU occupancy during journal

2018-01-31 Thread Michael Lyle
Unfortunately, this doesn't build because of nonexistent call heap_empty (I assume some changes to util.h got left out). I really need clean patches that build and are formatted properly. Mike On 01/26/2018 12:24 AM, tang.jun...@zte.com.cn wrote: > From: Tang Junhui > > After long time small w

Re: [PATCH 2/2] bcache: fix high CPU occupancy during journal

2018-01-31 Thread Michael Lyle
LGTM on first read-- I'll read it again and test in test branch. Reviewed-by: Michael Lyle On 01/26/2018 12:24 AM, tang.jun...@zte.com.cn wrote: > From: Tang Junhui > > After long time small writing I/O running, we found the occupancy of CPU > is very high and I/O performance has been reduced

[PATCH 2/2] bcache: fix high CPU occupancy during journal

2018-01-26 Thread tang . junhui
From: Tang Junhui After long time small writing I/O running, we found the occupancy of CPU is very high and I/O performance has been reduced by about half: [root@ceph151 internal]# top top - 15:51:05 up 1 day,2:43, 4 users, load average: 16.89, 15.15, 16.53 Tasks: 2063 total, 4 running, 2059