linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* XFS dirty after sync/reboot?
@ 2013-01-25 18:32 Phillip Susi
  2013-01-25 18:50 ` Ben Myers
  0 siblings, 1 reply; 2+ messages in thread
From: Phillip Susi @ 2013-01-25 18:32 UTC (permalink / raw)
  To: xfs; +Cc: linux-fsdevel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

While triaging a bug filed in Ubuntu involving odd reboot failures, it
appears that XFS leaves the filesystem in a corrupt state that
requires journal playback to fix after a sync or reboot.  Grub2
doesn't seem to understand the journal, leading to all kinds of
confusion after the reboot.

Shouldn't a full sync or remount to r/o flush the journal transactions
and leave the fs fully clean?

Original bug report: https://launchpad.net/bugs/1103187

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRAs/XAAoJEJrBOlT6nu75gogH/1Q+ej+QBqmzQpPLB9jFbiFs
EqDLyV0tJg0R5zF3PRVFC7Qh3IWqDkt0H2aXWnhPVItDjIRIicV51vgtCpxkgxHC
HCwheiGwVwXj0GK/Z5OfCyxEupZI9ThLu5rc9hRypMzFMKULW5WRazo5oXZpvZ3E
XvNxG3Ey0QbiFjzaClbpWTiTV+kjoeHCnkNQ/cYMLqdKXgkMWuDgCj1q8NkT6AZL
z9cJgssxYRdrzAQgjZ9YxUxVpuAIuQQUJxpXZFT7bd7jpsJ109q3i7BQ+j8aZxHW
8Xy2zTWGMZsfxLUHIUvwOXORYz/GXfVkjHOJC6SnqUErInOvMIDPsutIgyFw/LM=
=i0Bt
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: XFS dirty after sync/reboot?
  2013-01-25 18:32 XFS dirty after sync/reboot? Phillip Susi
@ 2013-01-25 18:50 ` Ben Myers
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Myers @ 2013-01-25 18:50 UTC (permalink / raw)
  To: Phillip Susi; +Cc: xfs, linux-fsdevel

Hey Philip,

On Fri, Jan 25, 2013 at 01:32:55PM -0500, Phillip Susi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> While triaging a bug filed in Ubuntu involving odd reboot failures, it
> appears that XFS leaves the filesystem in a corrupt state that
> requires journal playback to fix after a sync or reboot.  Grub2
> doesn't seem to understand the journal, leading to all kinds of
> confusion after the reboot.
>
> Shouldn't a full sync or remount to r/o flush the journal transactions
> and leave the fs fully clean?

It should.  We have a bug in xfs in that area.

> Original bug report: https://launchpad.net/bugs/1103187

Try this patch which was recently proposed for 3.5-3.7 stable trees:
http://oss.sgi.com/archives/xfs/2012-12/msg00324.html

Regards,
Ben

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-25 18:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-25 18:32 XFS dirty after sync/reboot? Phillip Susi
2013-01-25 18:50 ` Ben Myers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).