Thread (3 messages) 3 messages, 3 authors, 2017-10-10

Re: [PATCH] [PATCH v3] bcache: gc does not work when triggering by manual

From: Michael Lyle <hidden>
Date: 2017-10-10 03:32:41
Also in: linux-block

On 10/09/2017 07:44 PM, tang.junhui@zte.com.cn wrote:
From: Tang Junhui <redacted>

I try to execute the following command to trigger gc thread:
[root@localhost internal]# echo 1 > trigger_gc
But it does not work, I debug the code in gc_should_run(), It works only
if in invalidating or sectors_to_gc < 0. So set sectors_to_gc to -1 to
meet the condition when we trigger gc by manual command.

Signed-off-by: Tang Junhui <redacted>
Reviewed-by: Michael Lyle <redacted>

Thanks!   -mpl
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help