linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Chinner <dgc@sgi.com>
To: "Jörn Engel" <joern@logfs.org>
Cc: David Chinner <dgc@sgi.com>, Nick Piggin <npiggin@suse.de>,
	Rik van Riel <riel@redhat.com>,
	Zach Brown <zach.brown@oracle.com>,
	Anton Altaparmakov <aia21@cam.ac.uk>,
	Suparna Bhattacharya <suparna@in.ibm.com>,
	Christoph Hellwig <hch@infradead.org>,
	Hugh Dickins <hugh@veritas.com>,
	Jared Hulbert <jaredeh@gmail.com>,
	Chris Mason <chris.mason@oracle.com>,
	"Martin J. Bligh" <mbligh@mbligh.org>,
	Trond Myklebust <trond.myklebust@fys.uio.no>,
	Neil Brown <neilb@suse.de>, Miklos Szeredi <miklos@szeredi.hu>,
	Mingming Cao <cmm@us.ibm.com>,
	Linux Memory Management List <linux-mm@kvack.org>,
	linux-fsdevel@vger.kernel.org,
	Evgeniy Polyakov <johnpol@2ka.mipt.ru>,
	Steven Whitehouse <steve@chygwyn.com>,
	Dave McCracken <dave.mccracken@oracle.com>,
	Peter Zijlstra <peterz@infradead.org>
Subject: Re: vm/fs meetup details
Date: Fri, 6 Jul 2007 23:42:01 +1000	[thread overview]
Message-ID: <20070706134201.GL31489@sgi.com> (raw)
In-Reply-To: <20070706102623.GA846@lazybastard.org>

On Fri, Jul 06, 2007 at 12:26:23PM +0200, Jörn Engel wrote:
> On Fri, 6 July 2007 20:01:10 +1000, David Chinner wrote:
> > On Fri, Jul 06, 2007 at 04:26:51AM +0200, Nick Piggin wrote:
> > > 
> > > Keep in mind that the way to get the most out of this meeting is for the
> > > fs people to have topics of the form "we'd really like to do X, can we
> > > get some help from the VM"? Or vice versa from vm people.
> > 
> > *nod*
> > 
> > But, surprisingly enough, the above work is relevent to this forum because
> > of two things:
> > 
> > 	- we've had to move to direct I/O and user space caching to work
> > 	around deficiencies in kernel block device caching under memory
> > 	pressure....
> > 
> > 	- we've exploited techniques that XFS supports but the VM does not.
> > 	i.e. priority tagging of cached metadata so that less important
> > 	metadata is tossed first (e.g. toss tree leaves before nodes and nodes
> > 	before roots) when under memory pressure.
> 
> And the latter is exactly what logfs needs as well.  You certainly have me
> interested.
> 
> I believe it applies to btrfs and any other cow-fs as well.  The point is
> that higher levels get dirtied by writing lower layers.  So perfect
> behaviour for sync is to write leaves first, then nodes, then the root.  Any
> other order will either cause sync not to sync or cause unnecessary writes
> and cost performance.

Hmmm - I guess you could use it for writeback ordering. I hadn't
really thought about that. Doesn't seem a particularly efficient way
of doing it, though. Why not just use multiple address spaces for
this? i.e. one per level and flush in ascending order.

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2007-07-06 13:43 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-05  4:01 vm/fs meetup details Nick Piggin
2007-07-05 14:32 ` Peter Zijlstra
2007-07-05 17:54 ` Rik van Riel
2007-07-05 20:40   ` Zach Brown
2007-07-05 21:27     ` David Chinner
2007-07-05 21:40       ` Rik van Riel
2007-07-06  2:26         ` Nick Piggin
2007-07-06 10:01           ` David Chinner
2007-07-06 10:26             ` Jörn Engel
2007-07-06 13:42               ` David Chinner [this message]
2007-07-06 13:52                 ` Chris Mason
2007-07-06 15:57                   ` Jörn Engel
2007-07-06 15:58                     ` Steven Whitehouse
2007-07-06 23:47                       ` Neil Brown
2007-07-06  2:00   ` Nick Piggin
2007-07-06 20:40     ` Christoph Lameter
2007-07-07 10:45       ` Jörn Engel
2007-07-08 23:29         ` David Chinner
2007-07-09  0:27           ` Jörn Engel
2007-07-09 15:53             ` Martin Bligh
2007-07-27 14:30 ` Dave Kleikamp

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=20070706134201.GL31489@sgi.com \
    --to=dgc@sgi.com \
    --cc=aia21@cam.ac.uk \
    --cc=chris.mason@oracle.com \
    --cc=cmm@us.ibm.com \
    --cc=dave.mccracken@oracle.com \
    --cc=hch@infradead.org \
    --cc=hugh@veritas.com \
    --cc=jaredeh@gmail.com \
    --cc=joern@logfs.org \
    --cc=johnpol@2ka.mipt.ru \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mbligh@mbligh.org \
    --cc=miklos@szeredi.hu \
    --cc=neilb@suse.de \
    --cc=npiggin@suse.de \
    --cc=peterz@infradead.org \
    --cc=riel@redhat.com \
    --cc=steve@chygwyn.com \
    --cc=suparna@in.ibm.com \
    --cc=trond.myklebust@fys.uio.no \
    --cc=zach.brown@oracle.com \
    /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).