From: Peter Zijlstra <peterz@infradead.org>
To: Miklos Szeredi <miklos@szeredi.hu>
Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org
Subject: Re: per bdi dirty balancing (was Re: kupdate weirdness)
Date: Fri, 03 Aug 2007 09:15:27 +0200 [thread overview]
Message-ID: <1186125327.12034.121.camel@twins> (raw)
In-Reply-To: <E1IGqsn-0003uq-00@dorka.pomaz.szeredi.hu>
On Fri, 2007-08-03 at 08:43 +0200, Miklos Szeredi wrote:
> (cc restored)
>
> > > > There were heaps of problems in there and it is surprising how few people
> > > > were hitting them. Ordered-mode journalling filesystems will fix it all up
> > > > behind the scenes, of course.
> > > >
> > > > I just have a bad feeling about that code - list_heads are the wrong data
> > > > structure and it all needs to be ripped and redone using some indexable
> > > > data structure. There has been desultory discussion, but nothing's
> > > > happening and nothing will happen in the medium term, so we need to keep
> > > > on whapping bandainds on it.
> > >
> > > The reason why I'm looking at that code is because of those
> > > balance_dirty_pages() deadlocks. I'm not perfectly happy with the
> > > per-pdi-per-cpu counters Peter's patch is introducing.
> >
> > What is your biggest concern regarding them?
>
> Complexity. I've started to review the patches, and they are just too
> damn complex.
>
> For example introducing the backing_dev_info initializer and
> destructor adds potential bugs if we miss to add them somewhere.
yeah, that was/is a pain.
> Now maybe this is unavoidable. I'm just trying to look for a solution
> involving less uncertanties and complexities.
>
> My plan is to extract the minimal set of features from your patchset,
> that solves the dirty balancing deadlocks and submit them as quickly
> as possible.
I had hoped to post a new version yesterday, but lets hope for today.
> After that we can look at trying to solve the more ambitious problem
> of the slow vs. fast devices in a way that not only you can understand ;)
Drad, and here I thought all that documentation in the proportions lib
would have solved that :-(
next prev parent reply other threads:[~2007-08-03 7:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-01 20:45 kupdate weirdness Miklos Szeredi
2007-08-01 21:14 ` Andrew Morton
2007-08-02 15:52 ` Miklos Szeredi
2007-08-02 19:18 ` Andrew Morton
2007-08-02 19:35 ` Miklos Szeredi
[not found] ` <1186091062.11797.34.camel@lappy>
2007-08-03 6:43 ` per bdi dirty balancing (was Re: kupdate weirdness) Miklos Szeredi
2007-08-03 7:15 ` Peter Zijlstra [this message]
2007-08-03 7:41 ` Miklos Szeredi
2007-08-02 1:53 ` kupdate weirdness David Chinner
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=1186125327.12034.121.camel@twins \
--to=peterz@infradead.org \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=miklos@szeredi.hu \
/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