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:
> Hi.
>
> On 15/02/12 20:33, Andrey Rahmatullin wrote:
> > On Mon, Feb 13, 2012 at 03:13:35PM +0600, Andrey Rahmatullin wrote:
> >> Yesterday I've got an OOPS right after suspend start. Unfortunately
> >> pause_on_oops ended just at the moment I made the photo so the stack is
> >> not very readable but looks like the stack of the second OOPS contains the
> >> first one (below invalid_op) so I made a photo of it too:
> >>
> >> http://img-eburg.fotki.yandex.ru/get/5507/5627162.58/0_5f513_817cc797_XXXL
> >> http://img-eburg.fotki.yandex.ru/get/5009/5627162.58/0_5f514_2359300d_XXXL
> > This one is better:
> > http://img-fotki.yandex.ru/get/58191/5627162.58/0_5f591_5de971d4_XXXL
> > This time it crashed in the middle of writing.
> >
> > The crash site is
> >
> > if (unlikely(trap_non_toi_io))
> > BUG_ON(!(bio->bi_rw & REQ_TOI));
>
> 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.
Two attempts so far, both successful but both rebooted on first resume
and successfully resumed right after that.
> Regards,
>
> Nigel
>
> 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) iQIcBAEBCAAGBQJPQg28AAoJEDNi9wMaSZLhD7oP/2d5nXBG+JMd5XLnQWYCZAFW mc+OeyzKKUgXBvrp1JitQpXD8UoswbYWeQREVMPxIHNohwNOjNvqczmUksSaIpvY +T4F5DAMzbLm+KSUPwgk7hHyjGm7F010pEa4oudzPmP2dkOIncUUngboCGsva/4m B+DbjmqTwJ9r8wv3wWNyvSomorpkTwqRySaH9NPmbYpdWrppCwXmlDJasQrKzCvy yZsoADFVW9owJmlxm+q03Rx2AMQ470N0E0SFV091mYdrJBAytX0TzJE5A27nRkQ4 q5H66Wk8XrCozSG3aoSRDiAxdW310+Mnsha9/hoE/j1NAjBIH2KQAA5f66VRaP7z vBnP3qAdco4obNrhaEHmdE3ajVFFIIVv7MvW573g5cljbdLeQ1ATmkCFlXnUaLKc 1BCjf9q0wFIgQ8XbKUmu31+TVW86xiEtDWswSl9FVk0v+D0vKk5BWy6bCzejzTAS qV7+qzTGxLbI44Kd6bAfiNdfD4mYNvjH3x2usreKxW5uyePmL1K6G0Gu3d6uLU8B 14O8cONVnO8q6uTefsM3f7feN5AuKu3FLRSvp/P17O11SKCyfjNBRWd+ghQX1IQ0 mp1e9ZvlvUScYSHgMdMo4xDbd+2IzfBfHzMDEFAP+vPqdZ7XWByZvQXtGntqfjXO 9nfsV1DOugD9mP/HwUmI =Om9v -----END PGP SIGNATURE-----