public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: David Chinner <dgc@sgi.com>
To: Matthew Wilcox <matthew@wil.cx>
Cc: Christoph Hellwig <hch@infradead.org>,
	David Chinner <dgc@sgi.com>,
	xfs@oss.sgi.com
Subject: Re: [PATCH] Remove l_flushsema
Date: Thu, 1 May 2008 11:19:12 +1000	[thread overview]
Message-ID: <20080501011912.GZ108924158@sgi.com> (raw)
In-Reply-To: <20080430151714.GM14976@parisc-linux.org>

On Wed, Apr 30, 2008 at 09:17:14AM -0600, Matthew Wilcox wrote:
> On Wed, Apr 30, 2008 at 07:37:53AM -0400, Christoph Hellwig wrote:
> > On Wed, Apr 30, 2008 at 09:34:18PM +1000, David Chinner wrote:
> > > > probably loose some arguments).
> > > 
> > > Yep, much cleaner. Who's signoff goes on this?
> > 
> > You can have mine:
> > 
> > Signed-off-by: Christoph Hellwig <hch@lst.de>
> > 
> > but I think it's till essentially willy's and he should be credited for
> > it.
> 
> I'm fine with adding my S-o-B to this version:
> 
> Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
> 
> Here's a little twist on the idea to avoid the thundering herd.
> A vigorous review of this might not be a bad idea -- the idea is to only
> wake up sleeping processes when there seems to be enough space in the
> log to make it worthwhile.  So there's a few places where we unlock the
> l_icloglock and jump back to restart; I didn't add an sv_signal there.
> But there should be an sv_signal before each exit from the function,
> and I think I've done that.

That might work. I'll have to look at it more detail later and do
some performance testing when I'm not so busy with other stuff.

FWIW, in all the error or shutdown cases, it may as well be a broadcast
as every subsequent process through this code will get the same error.
i.e. once a log error occurs, the filesystem gets shut down....

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group

  reply	other threads:[~2008-05-01  1:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-30  9:05 [PATCH] Remove l_flushsema Matthew Wilcox
2008-04-30 10:24 ` Matthew Wilcox
2008-04-30 10:41 ` David Chinner
2008-04-30 10:58   ` Christoph Hellwig
2008-04-30 11:11     ` David Chinner
2008-04-30 11:15       ` Christoph Hellwig
2008-04-30 11:34         ` David Chinner
2008-04-30 11:37           ` Christoph Hellwig
2008-04-30 15:17             ` Matthew Wilcox
2008-05-01  1:19               ` David Chinner [this message]
2008-04-30 11:52       ` Matthew Wilcox
2008-04-30 12:14         ` 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=20080501011912.GZ108924158@sgi.com \
    --to=dgc@sgi.com \
    --cc=hch@infradead.org \
    --cc=matthew@wil.cx \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox