[<prev] [next>] [day] [month] [year] [list]
Message-ID: <554CA56D.3060807@gmail.com>
Date: Fri, 08 May 2015 14:00:45 +0200
From: poma <pomidorabelisima@...il.com>
To: Linux Kernel list <linux-kernel@...r.kernel.org>
Subject: do not call blocking ops when !TASK_RUNNING
[ 19.381055] ------------[ cut here ]------------
[ 19.381225] WARNING: CPU: 3 PID: 487 at kernel/sched/core.c:7291 __might_sleep+0x87/0x90()
[ 19.381373] do not call blocking ops when !TASK_RUNNING; state=2 set at [<ffffffff81897a65>] wait_for_completion_io+0xe5/0x140
...
[ 19.387265] Call Trace:
[ 19.387698] [<ffffffff81894055>] dump_stack+0x4c/0x65
[ 19.388145] [<ffffffff810b043a>] warn_slowpath_common+0x8a/0xc0
[ 19.388564] [<ffffffff810b04c5>] warn_slowpath_fmt+0x55/0x70
[ 19.388995] [<ffffffff81897a65>] ? wait_for_completion_io+0xe5/0x140
[ 19.389433] [<ffffffff81897a65>] ? wait_for_completion_io+0xe5/0x140
[ 19.389840] [<ffffffff810e0c17>] __might_sleep+0x87/0x90
[ 19.390257] [<ffffffff813fcc1f>] generic_make_request_checks+0x3f/0x600
[ 19.390666] [<ffffffff8189d016>] ? _raw_spin_unlock_irqrestore+0x36/0x70
[ 19.391084] [<ffffffff8110e0fd>] ? trace_hardirqs_on_caller+0x13d/0x1e0
[ 19.391505] [<ffffffff813fd207>] generic_make_request+0x27/0x130
[ 19.391919] [<ffffffffa0000438>] raid1_unplug+0x108/0x160 [raid1]
[ 19.392325] [<ffffffff814030da>] blk_flush_plug_list+0x9a/0x260
[ 19.392728] [<ffffffff8189cfc0>] ? _raw_spin_unlock_irq+0x30/0x50
[ 19.393142] [<ffffffff81896410>] io_schedule_timeout+0x120/0x130
[ 19.393547] [<ffffffff8110e1ad>] ? trace_hardirqs_on+0xd/0x10
[ 19.393955] [<ffffffff81897a87>] wait_for_completion_io+0x107/0x140
[ 19.394358] [<ffffffff810e9b40>] ? wake_up_state+0x20/0x20
[ 19.394757] [<ffffffff8140adf7>] __blkdev_issue_zeroout+0x227/0x270
[ 19.395162] [<ffffffff818979ca>] ? wait_for_completion_io+0x4a/0x140
[ 19.395562] [<ffffffff8140aeea>] blkdev_issue_zeroout+0xaa/0x100
[ 19.395966] [<ffffffff81350042>] ext4_ext_zeroout.isra.34+0x52/0x60
[ 19.396375] [<ffffffff81355ff0>] ext4_ext_handle_unwritten_extents+0x680/0x10d0
[ 19.396768] [<ffffffff81356f97>] ext4_ext_map_blocks+0x527/0x13c0
[ 19.397180] [<ffffffff813234c9>] ? ext4_map_blocks+0x179/0x510
[ 19.397577] [<ffffffff813234c9>] ? ext4_map_blocks+0x179/0x510
[ 19.397976] [<ffffffff813234ed>] ext4_map_blocks+0x19d/0x510
[ 19.398372] [<ffffffff81326fdd>] ext4_writepages+0x7fd/0x13e0
[ 19.398759] [<ffffffff810f2821>] ? update_entity_load_avg+0x381/0x430
[ 19.399154] [<ffffffff81200311>] do_writepages+0x21/0x40
[ 19.399536] [<ffffffff811f1c15>] __filemap_fdatawrite_range+0x65/0x90
[ 19.399916] [<ffffffff811f1d5d>] filemap_write_and_wait_range+0x2d/0x70
[ 19.400298] [<ffffffff8131bff3>] ext4_sync_file+0x173/0x660
[ 19.400669] [<ffffffff812bcd1b>] vfs_fsync_range+0x4b/0xb0
[ 19.401035] [<ffffffff812bcddd>] do_fsync+0x3d/0x70
[ 19.401389] [<ffffffff812bd0d0>] SyS_fsync+0x10/0x20
[ 19.401725] [<ffffffff8189da6e>] system_call_fastpath+0x12/0x76
[ 19.402060] ---[ end trace 21b3d7a340807572 ]---
4.1.0-0.rc2.git3.1.fc23.x86_64
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists