Re: Up to date trees.

Andrey Rahmatullin <[email protected]>
Newsgroups gmane.linux.swsusp.devel
Message-ID <[email protected]>
On Thu, Feb 16, 2012 at 08:21:21AM +1100, Nigel Cunningham wrote:
> Please try the attached patch. Since it's a timer function that's
> causing the issue, it won't necessarily show up on the first try.

Three attempts so far, all three reboot on atomic restore first time and
then resume successfully.

> diff --git a/fs/xfs/xfs_sync.c b/fs/xfs/xfs_sync.c
> index 40b75ee..9ee1b2f 100644
> --- a/fs/xfs/xfs_sync.c
> +++ b/fs/xfs/xfs_sync.c
> @@ -496,7 +496,7 @@ xfs_sync_worker(
>  					struct xfs_mount, m_sync_work);
>  	int		error;
>  
> -	if (!(mp->m_flags & XFS_MOUNT_RDONLY)) {
> +	if (!(mp->m_flags & XFS_MOUNT_RDONLY) && !atomic_read(&system_freezing_cnt)) {
>  		/* dgc: errors ignored here */
>  		if (mp->m_super->s_frozen == SB_UNFROZEN &&
>  		    xfs_log_need_covered(mp))


-- 
WBR, wRAR

_______________________________________________
TuxOnIce-devel mailing list
[email protected]
http://lists.tuxonice.net/listinfo/tuxonice-devel
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJPQ5jJAAoJEDNi9wMaSZLheZ4P/1uaszzhcAdJ0oFOyF2L2qSV
0Nf+f449GrycEjA/wVY7xmbZ3RiSu4zLbaciq7VQhO2HoxnNi7Vicjs0NcXFfEU7
J9t2ljpmo91KEpit8cKjuhJSEFMjF2Ky9IDamdiubum+IsBBV95mLesshNpWpAUp
F2qo4P6DIWMufnBrlWI+1UXwb/D7Bb5Hh6HCEm1Hsy7IAtHb+zPz9MWIK+1FmGoE
tBhKFMIRDdhrUfTlBtVqLBJYsiT8L9pbCVVCfOW9V9BSZ2VOeSI2r9s2SBacgb5C
NCJWtC0vFqtIi77aDt9Iu2Nba6GzOd2EHmktdJJ/Ukgn8bfHSpzvRqFc8xS41+Qy
O6lQjlxlbqhEpHYAluY7qHdsZrBUkKyAQ8/b4ZdcuLnNo9EGBRGRD5xwP5QEEhD+
FLuYwFe1tsdJMJDpREMcIQwnXuu8CfcgM8XRkTbRZvjS62S0oJle/FIXZfRDaYZt
gnaSFhCRXxWmObBeb02NCsZDOxSnsd30Yf3a7U8cRh7VElF/g04nzfOkORDsd3ph
F1R05+XA2cbHMc0dLkXGPohDW0posz6LGRoB7ebxCBvGu62BycPDm7Qz3swhzyTw
XROIocBEJfiDz+4WiEfgtmUyGntY3d+rTx6kSA+5SAjgPNOKhRZeTfz6sU6I8AyL
fCOl1pC9sv9eS7mUg8H3
=dzLM
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.