| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: Review: freezing sometimes leaves the log dirty |
| From: | Nathan Scott <nscott@xxxxxxxxxx> |
| Date: | Mon, 05 Feb 2007 08:56:55 +1100 |
| Cc: | David Chinner <dgc@xxxxxxx>, xfs-dev@xxxxxxx, xfs@xxxxxxxxxxx |
| In-reply-to: | <20070202114623.GA23187@infradead.org> |
| Organization: | Aconex |
| References: | <20070130220326.GM33919298@melbourne.sgi.com> <20070202114623.GA23187@infradead.org> |
| Reply-to: | nscott@xxxxxxxxxx |
| Sender: | xfs-bounce@xxxxxxxxxxx |
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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Spam on list?, Eric Sandeen |
|---|---|
| Next by Date: | Re: Review: freezing sometimes leaves the log dirty, David Chinner |
| Previous by Thread: | Re: Review: freezing sometimes leaves the log dirty, Christoph Hellwig |
| Next by Thread: | Re: Review: freezing sometimes leaves the log dirty, David Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |