From: Josef Bacik <jbacik@fb.com>
To: <linux-btrfs@vger.kernel.org>, <linux-fsdevel@vger.kernel.org>,
<kernel-team@fb.com>, <jack@suse.com>, <viro@zeniv.linux.org.uk>,
<dchinner@redhat.com>, <hch@lst.de>, <linux-mm@kvack.org>,
<hannes@cmpxchg.org>
Subject: [PATCH 0/4][V3] metadata throttling in writeback patches
Date: Tue, 20 Sep 2016 16:57:44 -0400 [thread overview]
Message-ID: <1474405068-27841-1-git-send-email-jbacik@fb.com> (raw)
This is the latest set of patches based on my conversations with Jan and
Johannes. The biggest change has been changing the metadata accounting counters
to be in bytes intead of pages in order to better support varying blocksizes.
I've also stopped messing with the other pagecache related counters so we can
keep them truly separate. Johannes suggested this change and I simply convert
the bytes counter to pages when calculating dirty limits and such.
The other big change is changing WB_WRITTEN/WB_DIRTIED to be in bytes instead of
pages as well. This is just a name and accounting change, it doesn't really
change the core logic at all.
I'm sending this out ahead of my full battery of tests, but I want to get
feedback on this direction as soon as possible. In the meantime I've changed my
btrfs specific patches to work with these patches and am running long running
tests now to verify everything still works. Thanks,
Josef
next reply other threads:[~2016-09-20 20:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-20 20:57 Josef Bacik [this message]
2016-09-20 20:57 ` [PATCH 1/4] remove mapping from balance_dirty_pages*() Josef Bacik
2016-09-20 20:57 ` [PATCH 2/4] writeback: allow for dirty metadata accounting Josef Bacik
2016-09-22 11:18 ` Jan Kara
2016-09-22 13:34 ` Josef Bacik
2016-09-22 19:48 ` Johannes Weiner
2016-09-20 20:57 ` [PATCH 3/4] writeback: convert WB_WRITTEN/WB_DIRITED counters to bytes Josef Bacik
2016-09-22 11:34 ` Jan Kara
2016-09-22 13:35 ` Josef Bacik
2016-09-20 20:57 ` [PATCH 4/4] writeback: introduce super_operations->write_metadata Josef Bacik
2016-09-22 11:48 ` Jan Kara
2016-09-22 13:36 ` Josef Bacik
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=1474405068-27841-1-git-send-email-jbacik@fb.com \
--to=jbacik@fb.com \
--cc=dchinner@redhat.com \
--cc=hannes@cmpxchg.org \
--cc=hch@lst.de \
--cc=jack@suse.com \
--cc=kernel-team@fb.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=viro@zeniv.linux.org.uk \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).