public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: xfs@oss.sgi.com
Subject: Re: do_sync() and XFSQA test 182 failures....
Date: Fri, 31 Oct 2008 16:37:16 -0400	[thread overview]
Message-ID: <20081031203716.GB11514@infradead.org> (raw)
In-Reply-To: <20081031004814.GN4985@disturbed>

On Fri, Oct 31, 2008 at 11:48:14AM +1100, Dave Chinner wrote:
> @@ -1118,8 +1118,7 @@ xfs_fs_write_super(
>  	struct super_block	*sb)
>  {
>  	if (!(sb->s_flags & MS_RDONLY))
> +		xfs_sync_fsdata(XFS_M(sb), SYNC_WAIT);

Not commenting on the rest yet, but I'm sure you noticed that before
your patch we ever called xfs_sync_fsdata with SYNC_WAIT at all.  I
think with the current codebase there is nothing to guarantee we ever
write the superblock out to disk as xfs_wait_buftarg specificly
excludes the superblock (XBF_FS_MANAGED)

  reply	other threads:[~2008-10-31 20:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-30  8:50 do_sync() and XFSQA test 182 failures Dave Chinner
2008-10-30 22:46 ` Christoph Hellwig
2008-10-31  0:12   ` Dave Chinner
2008-10-31  0:48     ` Dave Chinner
2008-10-31 20:37       ` Christoph Hellwig [this message]
2008-10-31 22:03         ` Dave Chinner
2008-10-31 22:19           ` Christoph Hellwig
2008-10-31 20:31     ` Christoph Hellwig
2008-10-31 21:54       ` Dave Chinner
2008-10-31 22:22         ` Christoph Hellwig
2008-10-31  4:02 ` Lachlan McIlroy
2008-10-31 13:06   ` Dave 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=20081031203716.GB11514@infradead.org \
    --to=hch@infradead.org \
    --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