From: Nathan Scott <nscott@aconex.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: David Chinner <dgc@sgi.com>, xfs-dev@sgi.com, xfs@oss.sgi.com
Subject: Re: Review: freezing sometimes leaves the log dirty
Date: Mon, 05 Feb 2007 08:56:55 +1100 [thread overview]
Message-ID: <1170626215.18017.394.camel@edge> (raw)
In-Reply-To: <20070202114623.GA23187@infradead.org>
On Fri, 2007-02-02 at 11:46 +0000, Christoph Hellwig wrote:
> On Wed, Jan 31, 2007 at 09:03:26AM +1100, David Chinner wrote:
> > + /* flush inodes and push all remaining buffers out to disk */
> > + xfs_quiesce_fs(mp);
> > +
> > + BUG_ON(atomic_read(&mp->m_active_trans) > 0);
> > +
>
> xfs_vfsops.c is considered common code, so you should probably use
> ASSERT here, not BUG_ON.
There's also an ASSERT_ALWAYS macro IIRC, if you want the equivalent
functionality of BUG_ON (i.e. always check).
cheers.
--
Nathan
next prev parent reply other threads:[~2007-02-04 21:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-30 22:03 Review: freezing sometimes leaves the log dirty David Chinner
2007-02-01 6:52 ` Donald Douwsma
2007-02-02 11:46 ` Christoph Hellwig
2007-02-02 14:07 ` David Chinner
2007-02-05 21:02 ` David Chinner
2007-02-05 21:09 ` Christoph Hellwig
2007-02-04 21:56 ` Nathan Scott [this message]
2007-02-04 23:45 ` 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=1170626215.18017.394.camel@edge \
--to=nscott@aconex.com \
--cc=dgc@sgi.com \
--cc=hch@infradead.org \
--cc=xfs-dev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox