All of lore.kernel.org
 help / color / mirror / Atom feed
From: Coly Li <colyli@suse.de>
To: linux-bcache@vger.kernel.org
Cc: bcache@lists.ewheeler.net, tang.junhui@zte.com.cn, kubuxu@ipfs.io
Subject: set max writeback rate when bcache device is idle
Date: Wed, 19 Jul 2017 13:34:03 +0800	[thread overview]
Message-ID: <20170719053405.99075-1-colyli@suse.de> (raw)

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

             reply	other threads:[~2017-07-19  5:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-19  5:34 Coly Li [this message]
2017-07-19  5:36 set max writeback rate when bcache device is idle Coly Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170719053405.99075-1-colyli@suse.de \
    --to=colyli@suse.de \
    --cc=bcache@lists.ewheeler.net \
    --cc=kubuxu@ipfs.io \
    --cc=linux-bcache@vger.kernel.org \
    --cc=tang.junhui@zte.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.