BTRFS in 4.4.0-rc7 keeping system from hibernating
Hello, Ever since 4.4.0-rc1 or so, BTRFS and XFS hasn't played well with hibernation. It may be deeper down as both filesystems seem to have issues with not being able to commit/freeze as can be seen below: [81167.893207] PM: Syncing filesystems ... done. [81168.194298] Freezing user space processes ... (elapsed 0.032 seconds) done. [81168.226832] PM: Marking nosave pages: [mem 0x-0x0fff] [81168.226839] PM: Marking nosave pages: [mem 0x00058000-0x00058fff] [81168.226843] PM: Marking nosave pages: [mem 0x0009-0x00090fff] [81168.226846] PM: Marking nosave pages: [mem 0x0009e000-0x000f] [81168.226853] PM: Marking nosave pages: [mem 0x8f68f000-0x8f6d9fff] [81168.226860] PM: Marking nosave pages: [mem 0x8f71e000-0x9022efff] [81168.226997] PM: Marking nosave pages: [mem 0x95295000-0x97ffefff] [81168.227549] PM: Marking nosave pages: [mem 0x9800-0x] [81168.229676] PM: Basic memory bitmaps created [81168.230414] PM: Preallocating image memory... done (allocated 1559693 pages) [81169.667742] PM: Allocated 6238772 kbytes in 1.43 seconds (4362.77 MB/s) [81169.667743] Freezing remaining freezable tasks ... [81189.679101] Freezing of tasks failed after 20.010 seconds (2 tasks refusing to freeze, wq_busy=0): [81189.679299] btrfs-cleaner D 88008841fad8 0 2141 2 0x [81189.679308] 88008841fad8 880453bd4a08 81c11500 880416ab3b00 [81189.679314] 88008842 880466416b00 7fff 88008841fc48 [81189.679319] 817d4650 88008841faf0 817d3ef5 [81189.679325] Call Trace: [81189.679338] [] ? bit_wait+0x60/0x60 [81189.679343] [] schedule+0x35/0x80 [81189.679348] [] schedule_timeout+0x189/0x250 [81189.679391] [] ? __set_extent_bit+0x430/0x550 [btrfs] [81189.679398] [] ? ktime_get+0x37/0xa0 [81189.679427] [] ? bit_wait+0x60/0x60 [81189.679431] [] io_schedule_timeout+0xa4/0x110 [81189.679436] [] bit_wait_io+0x1b/0x70 [81189.679440] [] __wait_on_bit_lock+0x4e/0xb0 [81189.679474] [] ? __clear_extent_bit+0x2ec/0x3b0 [btrfs] [81189.679481] [] __lock_page+0xb0/0xc0 [81189.679488] [] ? autoremove_wake_function+0x40/0x40 [81189.679494] [] pagecache_get_page+0x17d/0x1c0 [81189.679528] [] btrfs_defrag_file+0x33b/0xcd0 [btrfs] [81189.679536] [] ? put_prev_entity+0x33/0x7e0 [81189.679567] [] btrfs_run_defrag_inodes+0x1ef/0x300 [btrfs] [81189.679593] [] cleaner_kthread+0xd0/0x200 [btrfs] [81189.679617] [] ? check_leaf+0x330/0x330 [btrfs] [81189.679624] [] kthread+0xc9/0xe0 [81189.679631] [] ? kthread_create_on_node+0x180/0x180 [81189.679636] [] ret_from_fork+0x3f/0x70 [81189.679643] [] ? kthread_create_on_node+0x180/0x180 [81189.679654] xfsaild/dm-4S 88041615fe08 0 2350 2 0x [81189.679659] 88041615fe08 880453f02c40 880416b4bb00 [81189.679664] 88041616 880416b4bb00 88045252e100 [81189.679669] 880418acb800 88041615fe20 817d3ef5 [81189.679674] Call Trace: [81189.679679] [] schedule+0x35/0x80 [81189.679734] [] xfsaild+0x53f/0x5d0 [xfs] [81189.679780] [] ? xfs_trans_ail_cursor_first+0x90/0x90 [xfs] [81189.679820] [] ? xfs_trans_ail_cursor_first+0x90/0x90 [xfs] [81189.679827] [] kthread+0xc9/0xe0 [81189.679834] [] ? kthread_create_on_node+0x180/0x180 [81189.679840] [] ret_from_fork+0x3f/0x70 [81189.679845] [] ? kthread_create_on_node+0x180/0x180 [81189.679930] 4.3.0 would hibernate correctly. -- Regards, Jon Christopherson j...@jons.org -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: new oops in 4.4.0-rc4
On 12/11/2015 09:35 AM, Chris Mason wrote: On Thu, Dec 10, 2015 at 10:36:17AM -0600, Jon Christopherson wrote: Dave Jones sent in a report about this with trinity too, I'm digging in today. Since you can trigger this reliably, what was the last known-good kernel for you? -chris Hello, My last known good kernel was from Dec 5 04:00 CST: Linux version 4.4.0-120-generic (r...@enigma.jons.org) (gcc version 5.2.1 20151124 (Ubuntu 5.2.1-1ubuntu1~14.04) ) #201512050400 SMP Sat Dec 5 03:54:25 CST 2015 I will check over the commits from then till now as well. Regards, Jon Christopherson -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html