All of lore.kernel.org
 help / color / mirror / Atom feed
* set max writeback rate when bcache device is idle
@ 2017-07-19  5:36 Coly Li
  2017-07-19  5:36 ` [PATCH 1/2] bcache: do not perform writeback if dirty data is no more than writeback_percent Coly Li
  2017-07-19  5:36 ` [PATCH 2/2] bcache: implement max_writeback_rate_when_idle option for writeback mode Coly Li
  0 siblings, 2 replies; 6+ messages in thread
From: Coly Li @ 2017-07-19  5:36 UTC (permalink / raw)
  To: linux-bcache; +Cc: bcache, tang.junhui, kubuxu

This patch set is an effort to make bcache writes back dirty data when
it is idle. Junhui Tang posted a fix days before, which IMHO has unstable
interfere to writeback rate PD controller. This is another approach for
same problem.

The first patch with subject "bcache: do not perform writeback if dirty
data is no more than writeback_percent" makes writeback_percent works as
designed. This patch is depended by the seconded patch.

The second patch with subject "bcache: implement
max_writeback_rate_when_idle option for writeback mode" implements an
option to set a maximum writeback rate when bcache device is idle. Then
dirty data can be wrote back to cached device and cleaned on cache device.
After cache set is cleaned, the following write requests on bcache device
won't trigger writeback unless dirty data exceeds writeback_percent.

Please review the patch set, any comment is welcome :-)

Thanks in advance.

Coly Li

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

end of thread, other threads:[~2017-07-22 15:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-19  5:36 set max writeback rate when bcache device is idle Coly Li
2017-07-19  5:36 ` [PATCH 1/2] bcache: do not perform writeback if dirty data is no more than writeback_percent Coly Li
2017-07-19  8:19   ` Coly Li
     [not found]     ` <OF2AB44ECA.94CE1BF0-ON48258162.00356FFD-48258162.00359404@zte.com.cn>
2017-07-19 10:32       ` Coly Li
     [not found]   ` <OF7ADE25A8.9CA7AF89-ON48258165.00108B81-48258165.0010FA59@zte.com.cn>
2017-07-22 15:49     ` Coly Li
2017-07-19  5:36 ` [PATCH 2/2] bcache: implement max_writeback_rate_when_idle option for writeback mode Coly Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.