From: Dave Chinner <david@fromorbit.com>
To: Mark Tinguely <tinguely@sgi.com>
Cc: xfs@oss.sgi.com
Subject: Re: [PATCH] [RFC v2] xfs: byte range buffer dirty region tracking
Date: Thu, 4 Jun 2015 08:44:49 +1000 [thread overview]
Message-ID: <20150603224449.GQ24666@dastard> (raw)
In-Reply-To: <556F0CE0.8080402@sgi.com>
On Wed, Jun 03, 2015 at 09:19:12AM -0500, Mark Tinguely wrote:
> On 05/28/15 21:16, Dave Chinner wrote:
> >Discussion:
> >
> >I think that we will eventually need to track multiple regions - 3
> >is probably sufficient - because the nature of directory operations
> >are that just about every operation modifies a header in the buffer,
> >a tail section in the buffer and then some number of bytes/regions
> >in the middle of the buffer.
>
> Nod to the idea.
>
> What made you change from your original idea of using 4 regions to 3
> regions?
3 or 4 regions make little difference. header, body and tail is most
common for random directory modifications, so whether we have 1 or 2
body regions won't make much difference once more than a couple of
modifications are made to the same directory block. Indeed, I'm not
sure that we even need multiple regions - the log bandwidth and log
item memcpy overhead hasn't changed very much even on large
directory buffers with a single region...
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
prev parent reply other threads:[~2015-06-03 22:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-29 2:16 [PATCH] [RFC v2] xfs: byte range buffer dirty region tracking Dave Chinner
2015-06-03 14:01 ` Brian Foster
2015-06-03 22:40 ` Dave Chinner
2015-06-03 14:19 ` Mark Tinguely
2015-06-03 22:44 ` Dave Chinner [this message]
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=20150603224449.GQ24666@dastard \
--to=david@fromorbit.com \
--cc=tinguely@sgi.com \
--cc=xfs@oss.sgi.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 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.