linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Carlos E. R." <robin.listas@telefonica.net>
To: xfs <linux-xfs@vger.kernel.org>
Subject: Re: Suspend fails when xfs is involved?
Date: Fri, 3 Feb 2017 03:18:34 +0100	[thread overview]
Message-ID: <2724fe21-4924-536b-352e-0abfb4d033a0@telefonica.net> (raw)
In-Reply-To: <20170203010401.GR9134@birch.djwong.org>


[-- Attachment #1.1: Type: text/plain, Size: 5458 bytes --]

On 2017-02-03 02:04, Darrick J. Wong wrote:
> Hi list,
> 
> So I've noticed that my laptop consistently fails to suspend with:
> 

> [1183646.459310] Freezing of tasks failed after 20.006 seconds (1 tasks refusing to freeze, wq_busy=0):
> [1183646.459348] xfsaild/dm-1    D    0  1767      2 0x00000000

I see what to me seem similar events on my desktop machine, occasionally, but a second attempt succeeds; it is a different function, but xfs is involved:

<0.6> 2017-01-14 19:50:38 Telcontar kernel - - - [748246.597459] PM: Syncing filesystems ... done.
<0.6> 2017-01-14 19:50:38 Telcontar kernel - - - [748247.261177] Freezing user space processes ... (elapsed 0.002 seconds) done.
<0.7> 2017-01-14 19:50:38 Telcontar kernel - - - [748247.263791] PM: Marking nosave pages: [mem 0x00000000-0x00000fff]
<0.7> 2017-01-14 19:50:38 Telcontar kernel - - - [748247.263797] PM: Marking nosave pages: [mem 0x0009f000-0x000fffff]
<0.7> 2017-01-14 19:50:38 Telcontar kernel - - - [748247.263800] PM: Marking nosave pages: [mem 0xbff90000-0xffffffff]
<0.7> 2017-01-14 19:50:38 Telcontar kernel - - - [748247.264421] PM: Basic memory bitmaps created
<0.6> 2017-01-14 19:50:38 Telcontar kernel - - - [748247.264453] PM: Preallocating image memory... done (allocated 822838 pages)
<0.6> 2017-01-14 19:50:38 Telcontar kernel - - - [748249.186840] PM: Allocated 3291352 kbytes in 1.92 seconds (1714.24 MB/s)
<0.6> 2017-01-14 19:50:38 Telcontar kernel - - - [748249.186841] Freezing remaining freezable tasks ... 
<0.3> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.189941] Freezing of tasks failed after 20.003 seconds (1 tasks refusing to freeze, wq_busy=0):
<0.6> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.189944] kswapd0         D ffff88023fd95c40     0    44      2 0x00000000
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.189948]  ffff880235ed3848 ffff88017ee58340 ffff880235eccbc0 ffff880235ed4000
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.189952]  ffff880235eccbc0 ffff8801fa1a2498 ffff8800ba8c5340 ffff8801fa1a23c0
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.189956]  ffff880235ed3860 ffffffff8160680c 7fffffffffffffff ffff880235ed3908
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.189959] Call Trace:
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.189970]  [<ffffffff8160680c>] schedule+0x3c/0x90
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.189975]  [<ffffffff816095fa>] schedule_timeout+0x25a/0x2f0
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.189978]  [<ffffffff816071f6>] wait_for_completion+0xc6/0x140
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.190019]  [<ffffffffa0edef9c>] xfs_buf_submit_wait+0x7c/0x250 [xfs]
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.190051]  [<ffffffffa0edf2b1>] xfs_buf_read_map+0x111/0x1a0 [xfs]
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.190075]  [<ffffffffa0f0c6ed>] xfs_trans_read_buf_map+0xfd/0x330 [xfs]
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.190097]  [<ffffffffa0ed1aae>] xfs_imap_to_bp+0x5e/0xd0 [xfs]
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.190120]  [<ffffffffa0ef3e0d>] xfs_iflush+0xcd/0x230 [xfs]
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.190142]  [<ffffffffa0ee7653>] xfs_reclaim_inode+0x53/0x370 [xfs]
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.190164]  [<ffffffffa0ee7b69>] xfs_reclaim_inodes_ag+0x1f9/0x2f0 [xfs]
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.190186]  [<ffffffffa0ee8871>] xfs_reclaim_inodes_nr+0x31/0x40 [xfs]
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.190191]  [<ffffffff81208a36>] super_cache_scan+0x176/0x180
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.190195]  [<ffffffff8119cb35>] shrink_slab.part.40+0x205/0x3e0
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.190199]  [<ffffffff811a1368>] shrink_zone+0x268/0x280
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.190202]  [<ffffffff811a2433>] kswapd+0x4a3/0x960
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.190206]  [<ffffffff8109d308>] kthread+0xc8/0xe0
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.190209]  [<ffffffff8160ac8f>] ret_from_fork+0x3f/0x70
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.191726] DWARF2 unwinder stuck at ret_from_fork+0x3f/0x70
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.191727] 
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.191728] Leftover inexact backtrace:
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.191728] 
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.191730]  [<ffffffff8109d240>] ? kthread_park+0x50/0x50
<0.4> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.191774] 
<0.6> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.192073] Restarting kernel threads ... done.
<0.7> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.298537] PM: Basic memory bitmaps freed
<0.6> 2017-01-14 19:50:38 Telcontar kernel - - - [748269.300160] Restarting tasks ... done.


The kernel was 4.4.36-8-default #1 SMP Fri Dec 9
Distribution is openSUSE Leap 42.2

I have not reported this yet in Bugzilla, but seeing this post I thought I might as well tell.
You will know better than me what to make of it.

-- 
Cheers / Saludos,
               
		Carlos E. R.

  (from 42.2 x86_64 "Malachite" (Minas Tirith))


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]

  reply	other threads:[~2017-02-03  2:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-03  1:04 Suspend fails when xfs is involved? Darrick J. Wong
2017-02-03  2:18 ` Carlos E. R. [this message]
2017-02-03 22:31 ` Dave Chinner
2017-03-27 20:46   ` Darrick J. Wong
2017-03-27 22:30     ` Rafael J. Wysocki
2017-03-27 23:14       ` Luis R. Rodriguez
2017-03-28 16:33         ` Rafael J. Wysocki

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=2724fe21-4924-536b-352e-0abfb4d033a0@telefonica.net \
    --to=robin.listas@telefonica.net \
    --cc=linux-xfs@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).