From: Christoph Hellwig <hch@infradead.org>
To: Nathan Scott <nathans@sgi.com>
Cc: Christoph Hellwig <hch@infradead.org>, xfs@oss.sgi.com, jeremy@sgi.com
Subject: Re: review: fix remount vs barrier options
Date: Tue, 25 Jul 2006 10:44:38 +0100 [thread overview]
Message-ID: <20060725094438.GD29615@infradead.org> (raw)
In-Reply-To: <20060724112737.D2085715@wobbly.melbourne.sgi.com>
On Mon, Jul 24, 2006 at 11:27:37AM +1000, Nathan Scott wrote:
> On Mon, Jul 24, 2006 at 10:01:48AM +1000, Nathan Scott wrote:
> > On Sun, Jul 23, 2006 at 08:06:50PM +0100, Christoph Hellwig wrote:
> > > Shouldn't we make sure we clear all flags when reusing a log buffer?
> > > Relying on clearing individual flags seems rather fragile to me.
> >
> > *nod* - good idea. I'll rework xlog_sync, and resend later.
>
> After looking more, I'm less convinced. There's some flags we wont
> want to touch - the "internal" flags like PAGE_CACHE, etc (that one
> is obviously not relevent here, but still, at some point a flag may
> be introduced that we accidentally break by clearing all flags).
>
> There is a ZEROFLAGS macro, I've added ORDERED to that and used it
> instead. I also fixed the double barrier issue for the split log
> write case - here's an updated patch...
The flag clearing changes look good. But why is it okay to skip the
ordered flag on the first block? We want to make sure all previous I/O
is finished before even doing the first log block write, don't we?
next prev parent reply other threads:[~2006-07-25 10:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-21 5:28 review: fix remount vs barrier options Nathan Scott
2006-07-21 6:25 ` Timothy Shimmin
2006-07-23 19:06 ` Christoph Hellwig
2006-07-24 0:01 ` Nathan Scott
2006-07-24 1:27 ` Nathan Scott
2006-07-25 9:44 ` Christoph Hellwig [this message]
2006-07-25 22:21 ` Nathan Scott
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=20060725094438.GD29615@infradead.org \
--to=hch@infradead.org \
--cc=jeremy@sgi.com \
--cc=nathans@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.